{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 发现低价的公寓"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 128,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "import re\n",
    "import numpy as np\n",
    "\n",
    "import matplotlib.pyplot as plt\n",
    "plt.style.use(\"ggplot\")\n",
    "%matplotlib inline\n",
    "\n",
    "pd.set_option(\"display.max_columns\", 30)\n",
    "pd.set_option(\"display.max_colwidth\", 100)\n",
    "pd.set_option(\"display.precision\", 3)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 129,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Index(['routablemask_link', 'routablemask_link/_text',\n",
       "       'routablemask_link/_title', 'routablemask_link_numbers',\n",
       "       'routablemask_content', 'imagebadge_value', 'imagebadge_value_numbers',\n",
       "       'routable_link', 'routable_link/_text', 'routable_link/_title',\n",
       "       'routable_link_numbers', 'listingtype_value', 'pricelarge_value',\n",
       "       'pricelarge_value_prices', 'propertyinfo_value',\n",
       "       'propertyinfo_value_numbers', 'fineprint_value',\n",
       "       'fineprint_value_numbers', 'tozcount_number', 'tozfresh_value',\n",
       "       'tablegrouped_values', 'tablegrouped_values_prices', '_PAGE_NUMBER'],\n",
       "      dtype='object')"
      ]
     },
     "execution_count": 129,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# Use the file location of your Import.io csv\n",
    "CSV_PATH = r\"./data/magic.csv\"\n",
    "\n",
    "df = pd.read_csv(CSV_PATH)\n",
    "df.columns"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 130,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>0</th>\n",
       "      <th>1</th>\n",
       "      <th>2</th>\n",
       "      <th>3</th>\n",
       "      <th>4</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>routablemask_link</th>\n",
       "      <td>http://www.zillow.com/b/2-Ellwood-St-New-York-NY/40.85899,-73.92814_ll/</td>\n",
       "      <td>http://www.zillow.com/b/603-W-140th-St-New-York-NY/40.82376,-73.95335_ll/</td>\n",
       "      <td>http://www.zillow.com/homedetails/9-E-129th-St-1-New-York-NY-10035/2100761096_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/710-Riverside-Dr-APT-2C-New-York-NY-10031/124451755_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/413-E-84th-St-APT-8-New-York-NY-10028/2100761260_zpid/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>routablemask_link/_text</th>\n",
       "      <td>5 photos</td>\n",
       "      <td>10 photos</td>\n",
       "      <td>NaN</td>\n",
       "      <td>9 photos</td>\n",
       "      <td>5 photos</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>routablemask_link/_title</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>routablemask_link_numbers</th>\n",
       "      <td>5</td>\n",
       "      <td>10</td>\n",
       "      <td>NaN</td>\n",
       "      <td>9</td>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>routablemask_content</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>imagebadge_value</th>\n",
       "      <td>5 photos</td>\n",
       "      <td>10 photos</td>\n",
       "      <td>NaN</td>\n",
       "      <td>9 photos</td>\n",
       "      <td>5 photos</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>imagebadge_value_numbers</th>\n",
       "      <td>5</td>\n",
       "      <td>10</td>\n",
       "      <td>NaN</td>\n",
       "      <td>9</td>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>routable_link</th>\n",
       "      <td>http://www.zillow.com/b/2-Ellwood-St-New-York-NY/40.85899,-73.92814_ll/</td>\n",
       "      <td>http://www.zillow.com/b/603-W-140th-St-New-York-NY/40.82376,-73.95335_ll/</td>\n",
       "      <td>http://www.zillow.com/homedetails/9-E-129th-St-1-New-York-NY-10035/2100761096_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/710-Riverside-Dr-APT-2C-New-York-NY-10031/124451755_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/413-E-84th-St-APT-8-New-York-NY-10028/2100761260_zpid/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>routable_link/_text</th>\n",
       "      <td>2 Ellwood St</td>\n",
       "      <td>603 W 140th St</td>\n",
       "      <td>9 E 129th St # 1, New York, NY10035</td>\n",
       "      <td>710 Riverside Dr APT 2C, New York, NY10031</td>\n",
       "      <td>413 E 84th St APT 8, New York, NY10028</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>routable_link/_title</th>\n",
       "      <td>2 Ellwood St APT 5H, New York, NY Real Estate</td>\n",
       "      <td>603 W 140th St APT 44, New York, NY Real Estate</td>\n",
       "      <td>9 E 129th St # 1, New York, NY Real Estate</td>\n",
       "      <td>710 Riverside Dr APT 2C, New York, NY Real Estate</td>\n",
       "      <td>413 E 84th St APT 8, New York, NY Real Estate</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>routable_link_numbers</th>\n",
       "      <td>2</td>\n",
       "      <td>603; 140</td>\n",
       "      <td>9; 129; 1</td>\n",
       "      <td>710; 2</td>\n",
       "      <td>413; 84; 8</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>listingtype_value</th>\n",
       "      <td>Apartments For Rent</td>\n",
       "      <td>Apartments For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>pricelarge_value</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>$1,750/mo</td>\n",
       "      <td>$3,000/mo</td>\n",
       "      <td>$2,300/mo</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>pricelarge_value_prices</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.75e+03</td>\n",
       "      <td>3e+03</td>\n",
       "      <td>2.3e+03</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>propertyinfo_value</th>\n",
       "      <td>2 Ellwood St, New York, NY</td>\n",
       "      <td>603 W 140th St, New York, NY</td>\n",
       "      <td>1 bd • 1 ba</td>\n",
       "      <td>2 bds • 2 ba • 1,016 sqft</td>\n",
       "      <td>Studio • 1 ba</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>propertyinfo_value_numbers</th>\n",
       "      <td>2</td>\n",
       "      <td>603; 140</td>\n",
       "      <td>1; 1</td>\n",
       "      <td>2; 2; 1016</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>fineprint_value</th>\n",
       "      <td>6 matching units</td>\n",
       "      <td>2 matching units</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>fineprint_value_numbers</th>\n",
       "      <td>6</td>\n",
       "      <td>2</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>tozcount_number</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>48</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>tozfresh_value</th>\n",
       "      <td>Updated today</td>\n",
       "      <td>Updated today</td>\n",
       "      <td>minutes ago</td>\n",
       "      <td>hour ago</td>\n",
       "      <td>hours ago</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>tablegrouped_values</th>\n",
       "      <td>1 Bedrooms $1,500+ 1.0 ba -- sqft; 2 Bedrooms $1,750+ 1.0 ba -- sqft</td>\n",
       "      <td>1 Bedrooms $2,100 1.0 ba 800 sqft; 2 Bedrooms $2,595 1.0 ba 1,000 sqft</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>tablegrouped_values_prices</th>\n",
       "      <td>1500; 1750</td>\n",
       "      <td>2100; 2595</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>_PAGE_NUMBER</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                                                                  0  \\\n",
       "routablemask_link           http://www.zillow.com/b/2-Ellwood-St-New-York-NY/40.85899,-73.92814_ll/   \n",
       "routablemask_link/_text                                                                    5 photos   \n",
       "routablemask_link/_title                                                                        NaN   \n",
       "routablemask_link_numbers                                                                         5   \n",
       "routablemask_content                                                                            NaN   \n",
       "imagebadge_value                                                                           5 photos   \n",
       "imagebadge_value_numbers                                                                          5   \n",
       "routable_link               http://www.zillow.com/b/2-Ellwood-St-New-York-NY/40.85899,-73.92814_ll/   \n",
       "routable_link/_text                                                                    2 Ellwood St   \n",
       "routable_link/_title                                  2 Ellwood St APT 5H, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                             2   \n",
       "listingtype_value                                                               Apartments For Rent   \n",
       "pricelarge_value                                                                                NaN   \n",
       "pricelarge_value_prices                                                                         NaN   \n",
       "propertyinfo_value                                                       2 Ellwood St, New York, NY   \n",
       "propertyinfo_value_numbers                                                                        2   \n",
       "fineprint_value                                                                    6 matching units   \n",
       "fineprint_value_numbers                                                                           6   \n",
       "tozcount_number                                                                                 NaN   \n",
       "tozfresh_value                                                                        Updated today   \n",
       "tablegrouped_values            1 Bedrooms $1,500+ 1.0 ba -- sqft; 2 Bedrooms $1,750+ 1.0 ba -- sqft   \n",
       "tablegrouped_values_prices                                                               1500; 1750   \n",
       "_PAGE_NUMBER                                                                                      1   \n",
       "\n",
       "                                                                                                    1  \\\n",
       "routablemask_link           http://www.zillow.com/b/603-W-140th-St-New-York-NY/40.82376,-73.95335_ll/   \n",
       "routablemask_link/_text                                                                     10 photos   \n",
       "routablemask_link/_title                                                                          NaN   \n",
       "routablemask_link_numbers                                                                          10   \n",
       "routablemask_content                                                                              NaN   \n",
       "imagebadge_value                                                                            10 photos   \n",
       "imagebadge_value_numbers                                                                           10   \n",
       "routable_link               http://www.zillow.com/b/603-W-140th-St-New-York-NY/40.82376,-73.95335_ll/   \n",
       "routable_link/_text                                                                    603 W 140th St   \n",
       "routable_link/_title                                  603 W 140th St APT 44, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                        603; 140   \n",
       "listingtype_value                                                                 Apartments For Rent   \n",
       "pricelarge_value                                                                                  NaN   \n",
       "pricelarge_value_prices                                                                           NaN   \n",
       "propertyinfo_value                                                       603 W 140th St, New York, NY   \n",
       "propertyinfo_value_numbers                                                                   603; 140   \n",
       "fineprint_value                                                                      2 matching units   \n",
       "fineprint_value_numbers                                                                             2   \n",
       "tozcount_number                                                                                   NaN   \n",
       "tozfresh_value                                                                          Updated today   \n",
       "tablegrouped_values            1 Bedrooms $2,100 1.0 ba 800 sqft; 2 Bedrooms $2,595 1.0 ba 1,000 sqft   \n",
       "tablegrouped_values_prices                                                                 2100; 2595   \n",
       "_PAGE_NUMBER                                                                                        1   \n",
       "\n",
       "                                                                                                              2  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/9-E-129th-St-1-New-York-NY-10035/2100761096_zpid/   \n",
       "routablemask_link/_text                                                                                     NaN   \n",
       "routablemask_link/_title                                                                                    NaN   \n",
       "routablemask_link_numbers                                                                                   NaN   \n",
       "routablemask_content                                                                                        NaN   \n",
       "imagebadge_value                                                                                            NaN   \n",
       "imagebadge_value_numbers                                                                                    NaN   \n",
       "routable_link               http://www.zillow.com/homedetails/9-E-129th-St-1-New-York-NY-10035/2100761096_zpid/   \n",
       "routable_link/_text                                                         9 E 129th St # 1, New York, NY10035   \n",
       "routable_link/_title                                                 9 E 129th St # 1, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                 9; 129; 1   \n",
       "listingtype_value                                                                            Apartment For Rent   \n",
       "pricelarge_value                                                                                      $1,750/mo   \n",
       "pricelarge_value_prices                                                                                1.75e+03   \n",
       "propertyinfo_value                                                                                  1 bd • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                 1; 1   \n",
       "fineprint_value                                                                                             NaN   \n",
       "fineprint_value_numbers                                                                                     NaN   \n",
       "tozcount_number                                                                                              48   \n",
       "tozfresh_value                                                                                      minutes ago   \n",
       "tablegrouped_values                                                                                         NaN   \n",
       "tablegrouped_values_prices                                                                                  NaN   \n",
       "_PAGE_NUMBER                                                                                                  1   \n",
       "\n",
       "                                                                                                                      3  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/710-Riverside-Dr-APT-2C-New-York-NY-10031/124451755_zpid/   \n",
       "routablemask_link/_text                                                                                        9 photos   \n",
       "routablemask_link/_title                                                                                            NaN   \n",
       "routablemask_link_numbers                                                                                             9   \n",
       "routablemask_content                                                                                                NaN   \n",
       "imagebadge_value                                                                                               9 photos   \n",
       "imagebadge_value_numbers                                                                                              9   \n",
       "routable_link               http://www.zillow.com/homedetails/710-Riverside-Dr-APT-2C-New-York-NY-10031/124451755_zpid/   \n",
       "routable_link/_text                                                          710 Riverside Dr APT 2C, New York, NY10031   \n",
       "routable_link/_title                                                  710 Riverside Dr APT 2C, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                            710; 2   \n",
       "listingtype_value                                                                                    Apartment For Rent   \n",
       "pricelarge_value                                                                                              $3,000/mo   \n",
       "pricelarge_value_prices                                                                                           3e+03   \n",
       "propertyinfo_value                                                                            2 bds • 2 ba • 1,016 sqft   \n",
       "propertyinfo_value_numbers                                                                                   2; 2; 1016   \n",
       "fineprint_value                                                                                                     NaN   \n",
       "fineprint_value_numbers                                                                                             NaN   \n",
       "tozcount_number                                                                                                       1   \n",
       "tozfresh_value                                                                                                 hour ago   \n",
       "tablegrouped_values                                                                                                 NaN   \n",
       "tablegrouped_values_prices                                                                                          NaN   \n",
       "_PAGE_NUMBER                                                                                                          1   \n",
       "\n",
       "                                                                                                                   4  \n",
       "routablemask_link           http://www.zillow.com/homedetails/413-E-84th-St-APT-8-New-York-NY-10028/2100761260_zpid/  \n",
       "routablemask_link/_text                                                                                     5 photos  \n",
       "routablemask_link/_title                                                                                         NaN  \n",
       "routablemask_link_numbers                                                                                          5  \n",
       "routablemask_content                                                                                             NaN  \n",
       "imagebadge_value                                                                                            5 photos  \n",
       "imagebadge_value_numbers                                                                                           5  \n",
       "routable_link               http://www.zillow.com/homedetails/413-E-84th-St-APT-8-New-York-NY-10028/2100761260_zpid/  \n",
       "routable_link/_text                                                           413 E 84th St APT 8, New York, NY10028  \n",
       "routable_link/_title                                                   413 E 84th St APT 8, New York, NY Real Estate  \n",
       "routable_link_numbers                                                                                     413; 84; 8  \n",
       "listingtype_value                                                                                 Apartment For Rent  \n",
       "pricelarge_value                                                                                           $2,300/mo  \n",
       "pricelarge_value_prices                                                                                      2.3e+03  \n",
       "propertyinfo_value                                                                                     Studio • 1 ba  \n",
       "propertyinfo_value_numbers                                                                                         1  \n",
       "fineprint_value                                                                                                  NaN  \n",
       "fineprint_value_numbers                                                                                          NaN  \n",
       "tozcount_number                                                                                                    2  \n",
       "tozfresh_value                                                                                             hours ago  \n",
       "tablegrouped_values                                                                                              NaN  \n",
       "tablegrouped_values_prices                                                                                       NaN  \n",
       "_PAGE_NUMBER                                                                                                       1  "
      ]
     },
     "execution_count": 130,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df.head().T"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 131,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "(161, 339)"
      ]
     },
     "execution_count": 131,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# Multiple units\n",
    "mu = df[df['listingtype_value'].str.contains('Apartments For')]\n",
    "\n",
    "# Single units\n",
    "su = df[df['listingtype_value'].str.contains('Apartment For')]\n",
    "\n",
    "len(mu), len(su)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 116,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "2                                               1 bd • 1 ba\n",
       "3                                 2 bds • 2 ba • 1,016 sqft\n",
       "4                                             Studio • 1 ba\n",
       "5                                              2 bds • 1 ba\n",
       "7                                              2 bds • 1 ba\n",
       "10                                              1 bd • 1 ba\n",
       "11     1 bd • 1 ba • 496 sqft • 4,502 sqft lot • Built 1900\n",
       "12                                            Studio • 1 ba\n",
       "13                                              1 bd • 1 ba\n",
       "17                                              1 bd • 1 ba\n",
       "18                                            Studio • 1 ba\n",
       "19                                              1 bd • 1 ba\n",
       "20                                   1 bd • 1 ba • 700 sqft\n",
       "21                                              1 bd • 1 ba\n",
       "23                                 Studio • 1 ba • 487 sqft\n",
       "24                                             2 bds • 1 ba\n",
       "27                                   1 bd • 1 ba • 525 sqft\n",
       "29                                  2 bds • 1 ba • 650 sqft\n",
       "30                                              1 bd • 1 ba\n",
       "33                                              1 bd • 1 ba\n",
       "36                                            Studio • 1 ba\n",
       "38                                              1 bd • 1 ba\n",
       "40                    Studio • 1 ba • 406 sqft • Built 1903\n",
       "42                  Studio • 1 ba • 350 sqft • 465 sqft lot\n",
       "44                                            Studio • 1 ba\n",
       "45                                 Studio • 1 ba • 400 sqft\n",
       "46                      1 bd • 1 ba • 600 sqft • Built 1989\n",
       "47                                              1 bd • 1 ba\n",
       "48                                              1 bd • 1 ba\n",
       "49                      1 bd • 1 ba • 596 sqft • Built 1959\n",
       "                               ...                         \n",
       "450                                 2 bds • 1 ba • 900 sqft\n",
       "451                                            2 bds • 1 ba\n",
       "452                                             1 bd • 1 ba\n",
       "453                                             1 bd • 1 ba\n",
       "454                                             1 bd • 1 ba\n",
       "457     Studio • 1 ba • 540 sqft • 2.00 ac lot • Built 1961\n",
       "458                                            2 bds • 1 ba\n",
       "459                                           Studio • 1 ba\n",
       "460                                             1 bd • 1 ba\n",
       "461                                           Studio • 1 ba\n",
       "462                              Studio • 1 ba • Built 1993\n",
       "464                   Studio • 1 ba • 485 sqft • Built 1962\n",
       "466                                 2 bds • 1 ba • 600 sqft\n",
       "467                   Studio • 1 ba • 522 sqft • Built 2013\n",
       "468                   Studio • 1 ba • 480 sqft • Built 1998\n",
       "470                                           Studio • 1 ba\n",
       "471                                           Studio • 1 ba\n",
       "475                     1 bd • 1 ba • 475 sqft • Built 1900\n",
       "477                                           Studio • 1 ba\n",
       "479                                  1 bd • 1 ba • 500 sqft\n",
       "483                                            2 bds • 1 ba\n",
       "484                                            2 bds • 1 ba\n",
       "485                                           Studio • 1 ba\n",
       "486                                Studio • 1 ba • 400 sqft\n",
       "487                                           Studio • 1 ba\n",
       "490                                             1 bd • 1 ba\n",
       "492                                             1 bd • 1 ba\n",
       "496                                           Studio • 1 ba\n",
       "497                                Studio • 1 ba • 550 sqft\n",
       "499                                             1 bd • 1 ba\n",
       "Name: propertyinfo_value, Length: 339, dtype: object"
      ]
     },
     "execution_count": 116,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "su[\"propertyinfo_value\"]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 132,
   "metadata": {
    "scrolled": false
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "0"
      ]
     },
     "execution_count": 132,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 检查有没有包含 bd 或者是 studio 的行数\n",
    "len(su[~(su['propertyinfo_value'].str.contains('Studio') | su['propertyinfo_value'].str.contains('bd'))])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 133,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "6"
      ]
     },
     "execution_count": 133,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 检查没有包含 ba 的行数\n",
    "len( su[~(su['propertyinfo_value'].str.contains('ba'))] )"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 134,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Baths</th>\n",
       "      <th>Beds</th>\n",
       "      <th>Sqft</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>1 bd</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>2 ba</td>\n",
       "      <td>2 bds</td>\n",
       "      <td>1,016 sqft</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>2 bds</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>2 bds</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>1 bd</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>1 bd</td>\n",
       "      <td>496 sqft</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>1 bd</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>1 bd</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>1 bd</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>1 bd</td>\n",
       "      <td>700 sqft</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>1 bd</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>Studio</td>\n",
       "      <td>487 sqft</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>2 bds</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>1 bd</td>\n",
       "      <td>525 sqft</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>2 bds</td>\n",
       "      <td>650 sqft</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>1 bd</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>33</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>1 bd</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>36</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>38</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>1 bd</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>40</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>Studio</td>\n",
       "      <td>406 sqft</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>42</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>Studio</td>\n",
       "      <td>350 sqft</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>44</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>45</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>Studio</td>\n",
       "      <td>400 sqft</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>46</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>1 bd</td>\n",
       "      <td>600 sqft</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>47</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>1 bd</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>48</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>1 bd</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>49</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>1 bd</td>\n",
       "      <td>596 sqft</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>450</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>2 bds</td>\n",
       "      <td>900 sqft</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>451</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>2 bds</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>452</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>1 bd</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>453</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>1 bd</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>454</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>1 bd</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>457</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>Studio</td>\n",
       "      <td>540 sqft</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>458</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>2 bds</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>459</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>460</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>1 bd</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>461</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>462</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>464</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>Studio</td>\n",
       "      <td>485 sqft</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>466</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>2 bds</td>\n",
       "      <td>600 sqft</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>467</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>Studio</td>\n",
       "      <td>522 sqft</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>468</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>Studio</td>\n",
       "      <td>480 sqft</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>470</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>471</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>475</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>1 bd</td>\n",
       "      <td>475 sqft</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>477</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>479</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>1 bd</td>\n",
       "      <td>500 sqft</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>483</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>2 bds</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>484</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>2 bds</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>485</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>486</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>Studio</td>\n",
       "      <td>400 sqft</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>487</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>490</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>1 bd</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>492</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>1 bd</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>496</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>497</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>Studio</td>\n",
       "      <td>550 sqft</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>499</th>\n",
       "      <td>1 ba</td>\n",
       "      <td>1 bd</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>333 rows × 3 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      Baths     Beds         Sqft\n",
       "2      1 ba    1 bd           NaN\n",
       "3     2 ba    2 bds    1,016 sqft\n",
       "4      1 ba  Studio           NaN\n",
       "5      1 ba   2 bds           NaN\n",
       "7      1 ba   2 bds           NaN\n",
       "10     1 ba    1 bd           NaN\n",
       "11    1 ba     1 bd     496 sqft \n",
       "12     1 ba  Studio           NaN\n",
       "13     1 ba    1 bd           NaN\n",
       "17     1 ba    1 bd           NaN\n",
       "18     1 ba  Studio           NaN\n",
       "19     1 ba    1 bd           NaN\n",
       "20    1 ba     1 bd      700 sqft\n",
       "21     1 ba    1 bd           NaN\n",
       "23    1 ba   Studio      487 sqft\n",
       "24     1 ba   2 bds           NaN\n",
       "27    1 ba     1 bd      525 sqft\n",
       "29    1 ba    2 bds      650 sqft\n",
       "30     1 ba    1 bd           NaN\n",
       "33     1 ba    1 bd           NaN\n",
       "36     1 ba  Studio           NaN\n",
       "38     1 ba    1 bd           NaN\n",
       "40    1 ba   Studio     406 sqft \n",
       "42    1 ba   Studio     350 sqft \n",
       "44     1 ba  Studio           NaN\n",
       "45    1 ba   Studio      400 sqft\n",
       "46    1 ba     1 bd     600 sqft \n",
       "47     1 ba    1 bd           NaN\n",
       "48     1 ba    1 bd           NaN\n",
       "49    1 ba     1 bd     596 sqft \n",
       "..      ...      ...          ...\n",
       "450   1 ba    2 bds      900 sqft\n",
       "451    1 ba   2 bds           NaN\n",
       "452    1 ba    1 bd           NaN\n",
       "453    1 ba    1 bd           NaN\n",
       "454    1 ba    1 bd           NaN\n",
       "457   1 ba   Studio     540 sqft \n",
       "458    1 ba   2 bds           NaN\n",
       "459    1 ba  Studio           NaN\n",
       "460    1 ba    1 bd           NaN\n",
       "461    1 ba  Studio           NaN\n",
       "462   1 ba   Studio           NaN\n",
       "464   1 ba   Studio     485 sqft \n",
       "466   1 ba    2 bds      600 sqft\n",
       "467   1 ba   Studio     522 sqft \n",
       "468   1 ba   Studio     480 sqft \n",
       "470    1 ba  Studio           NaN\n",
       "471    1 ba  Studio           NaN\n",
       "475   1 ba     1 bd     475 sqft \n",
       "477    1 ba  Studio           NaN\n",
       "479   1 ba     1 bd      500 sqft\n",
       "483    1 ba   2 bds           NaN\n",
       "484    1 ba   2 bds           NaN\n",
       "485    1 ba  Studio           NaN\n",
       "486   1 ba   Studio      400 sqft\n",
       "487    1 ba  Studio           NaN\n",
       "490    1 ba    1 bd           NaN\n",
       "492    1 ba    1 bd           NaN\n",
       "496    1 ba  Studio           NaN\n",
       "497   1 ba   Studio      550 sqft\n",
       "499    1 ba    1 bd           NaN\n",
       "\n",
       "[333 rows x 3 columns]"
      ]
     },
     "execution_count": 134,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "no_bath = su[~(su[\"propertyinfo_value\"].str.contains(\"ba\"))]\n",
    "\n",
    "# 排除缺失了浴室信息的房源\n",
    "sucln = su[~su.index.isin(no_bath.index)]\n",
    "\n",
    "# split using the bullet\n",
    "def parse_info(row):\n",
    "    if not 'sqft' in row:\n",
    "        br, ba = row.split('•')[:2]\n",
    "        sqft = np.nan\n",
    "    else:\n",
    "        br, ba, sqft = row.split('•')[:3]                \n",
    "    return pd.Series({'Beds': br, 'Baths': ba, 'Sqft': sqft})\n",
    "\n",
    "attr = sucln[\"propertyinfo_value\"].apply(parse_info)\n",
    "attr"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 135,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Baths</th>\n",
       "      <th>Beds</th>\n",
       "      <th>Sqft</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1,016</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>496</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>700</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>487</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>525</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>650</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>33</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>36</th>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>38</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>40</th>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>406</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>42</th>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>350</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>44</th>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>45</th>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>400</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>46</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>600</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>47</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>48</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>49</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>596</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>450</th>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>900</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>451</th>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>452</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>453</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>454</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>457</th>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>540</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>458</th>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>459</th>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>460</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>461</th>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>462</th>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>464</th>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>485</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>466</th>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>600</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>467</th>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>522</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>468</th>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>480</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>470</th>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>471</th>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>475</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>475</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>477</th>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>479</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>483</th>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>484</th>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>485</th>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>486</th>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>400</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>487</th>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>490</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>492</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>496</th>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>497</th>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>550</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>499</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>333 rows × 3 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "    Baths    Beds   Sqft\n",
       "2       1       1    NaN\n",
       "3       2       2  1,016\n",
       "4       1  Studio    NaN\n",
       "5       1       2    NaN\n",
       "7       1       2    NaN\n",
       "10      1       1    NaN\n",
       "11      1       1    496\n",
       "12      1  Studio    NaN\n",
       "13      1       1    NaN\n",
       "17      1       1    NaN\n",
       "18      1  Studio    NaN\n",
       "19      1       1    NaN\n",
       "20      1       1    700\n",
       "21      1       1    NaN\n",
       "23      1  Studio    487\n",
       "24      1       2    NaN\n",
       "27      1       1    525\n",
       "29      1       2    650\n",
       "30      1       1    NaN\n",
       "33      1       1    NaN\n",
       "36      1  Studio    NaN\n",
       "38      1       1    NaN\n",
       "40      1  Studio    406\n",
       "42      1  Studio    350\n",
       "44      1  Studio    NaN\n",
       "45      1  Studio    400\n",
       "46      1       1    600\n",
       "47      1       1    NaN\n",
       "48      1       1    NaN\n",
       "49      1       1    596\n",
       "..    ...     ...    ...\n",
       "450     1       2    900\n",
       "451     1       2    NaN\n",
       "452     1       1    NaN\n",
       "453     1       1    NaN\n",
       "454     1       1    NaN\n",
       "457     1  Studio    540\n",
       "458     1       2    NaN\n",
       "459     1  Studio    NaN\n",
       "460     1       1    NaN\n",
       "461     1  Studio    NaN\n",
       "462     1  Studio    NaN\n",
       "464     1  Studio    485\n",
       "466     1       2    600\n",
       "467     1  Studio    522\n",
       "468     1  Studio    480\n",
       "470     1  Studio    NaN\n",
       "471     1  Studio    NaN\n",
       "475     1       1    475\n",
       "477     1  Studio    NaN\n",
       "479     1       1    500\n",
       "483     1       2    NaN\n",
       "484     1       2    NaN\n",
       "485     1  Studio    NaN\n",
       "486     1  Studio    400\n",
       "487     1  Studio    NaN\n",
       "490     1       1    NaN\n",
       "492     1       1    NaN\n",
       "496     1  Studio    NaN\n",
       "497     1  Studio    550\n",
       "499     1       1    NaN\n",
       "\n",
       "[333 rows x 3 columns]"
      ]
     },
     "execution_count": 135,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#remove the strings from our values\n",
    "attr_cln = attr.applymap(lambda x: x.strip().split(\" \")[0] if isinstance(x, str) else np.nan)\n",
    "attr_cln"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 136,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>2</th>\n",
       "      <th>3</th>\n",
       "      <th>4</th>\n",
       "      <th>5</th>\n",
       "      <th>7</th>\n",
       "      <th>10</th>\n",
       "      <th>11</th>\n",
       "      <th>12</th>\n",
       "      <th>13</th>\n",
       "      <th>17</th>\n",
       "      <th>18</th>\n",
       "      <th>19</th>\n",
       "      <th>20</th>\n",
       "      <th>21</th>\n",
       "      <th>23</th>\n",
       "      <th>...</th>\n",
       "      <th>470</th>\n",
       "      <th>471</th>\n",
       "      <th>475</th>\n",
       "      <th>477</th>\n",
       "      <th>479</th>\n",
       "      <th>483</th>\n",
       "      <th>484</th>\n",
       "      <th>485</th>\n",
       "      <th>486</th>\n",
       "      <th>487</th>\n",
       "      <th>490</th>\n",
       "      <th>492</th>\n",
       "      <th>496</th>\n",
       "      <th>497</th>\n",
       "      <th>499</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>routablemask_link</th>\n",
       "      <td>http://www.zillow.com/homedetails/9-E-129th-St-1-New-York-NY-10035/2100761096_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/710-Riverside-Dr-APT-2C-New-York-NY-10031/124451755_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/413-E-84th-St-APT-8-New-York-NY-10028/2100761260_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/324-Pleasant-Ave-APT-6E-New-York-NY-10035/2100761258_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/217-Thompson-St-APT-6-New-York-NY-10012/2100761371_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/340-W-47th-St-APT-4C-New-York-NY-10036/2108861613_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/1356-1st-Ave-APT-5B-New-York-NY-10021/31539199_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/101-W-77th-St-APT-3C-New-York-NY-10024/2114511658_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/111-W-74th-St-APT-2R-New-York-NY-10023/2123304010_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/646-10th-Ave-APT-4B-New-York-NY-10036/2114397534_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/76-Carmine-St-APT-4C-New-York-NY-10014/2110813540_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/146-W-120th-St-APT-8-New-York-NY-10027/2100762986_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/137-W-72nd-St-APT-4FE-New-York-NY-10023/2105480982_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/178-Avenue-B-2-New-York-NY-10009/2100763265_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/95-Wall-St-72791-New-York-NY-10005/2103168440_zpid/</td>\n",
       "      <td>...</td>\n",
       "      <td>http://www.zillow.com/homedetails/304-E-41st-St-APT-1107A-New-York-NY-10017/2100774366_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/169-Avenue-A-APT-1-New-York-NY-10009/2105208117_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/722-10th-Ave-APT-3A-New-York-NY-10019/2126268388_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/200-W-70th-St-APT-11L3-New-York-NY-10023/2100774851_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/219-W-78th-St-APT-2F-New-York-NY-10024/2100775303_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/405-W-49th-St-APT-2W-New-York-NY-10019/2100776286_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/230-E-26th-St-APT-3A-New-York-NY-10010/2100776283_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/319-E-53rd-St-APT-2B-New-York-NY-10022/2104750345_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/53-Irving-Pl-APT-3K-New-York-NY-10003/2103128441_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/25-E-67th-St-APT-8D-New-York-NY-10065/2100777265_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/303-E-73rd-St-E-New-York-NY-10021/2100777278_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/422-E-81st-St-APT-4A-New-York-NY-10028/2111603077_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/445-W-49th-St-APT-3B-New-York-NY-10019/2106388119_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/203-E-121st-St-APT-901-New-York-NY-10035/2100777283_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/434-E-72nd-St-APT-2C-New-York-NY-10021/2120058527_zpid/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>routablemask_link/_text</th>\n",
       "      <td>NaN</td>\n",
       "      <td>9 photos</td>\n",
       "      <td>5 photos</td>\n",
       "      <td>7 photos</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>9 photos</td>\n",
       "      <td>4 photos</td>\n",
       "      <td>6 photos</td>\n",
       "      <td>NaN</td>\n",
       "      <td>4 photos</td>\n",
       "      <td>6 photos</td>\n",
       "      <td>10 photos</td>\n",
       "      <td>6 photos</td>\n",
       "      <td>17 photos</td>\n",
       "      <td>...</td>\n",
       "      <td>5 photos</td>\n",
       "      <td>8 photos</td>\n",
       "      <td>5 photos</td>\n",
       "      <td>4 photos</td>\n",
       "      <td>6 photos</td>\n",
       "      <td>5 photos</td>\n",
       "      <td>6 photos</td>\n",
       "      <td>5 photos</td>\n",
       "      <td>6 photos</td>\n",
       "      <td>NaN</td>\n",
       "      <td>5 photos</td>\n",
       "      <td>4 photos</td>\n",
       "      <td>4 photos</td>\n",
       "      <td>4 photos</td>\n",
       "      <td>1 photo</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>routablemask_link/_title</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>routablemask_link_numbers</th>\n",
       "      <td>NaN</td>\n",
       "      <td>9</td>\n",
       "      <td>5</td>\n",
       "      <td>7</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>9</td>\n",
       "      <td>4</td>\n",
       "      <td>6</td>\n",
       "      <td>NaN</td>\n",
       "      <td>4</td>\n",
       "      <td>6</td>\n",
       "      <td>10</td>\n",
       "      <td>6</td>\n",
       "      <td>17</td>\n",
       "      <td>...</td>\n",
       "      <td>5</td>\n",
       "      <td>8</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "      <td>6</td>\n",
       "      <td>5</td>\n",
       "      <td>6</td>\n",
       "      <td>5</td>\n",
       "      <td>6</td>\n",
       "      <td>NaN</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>routablemask_content</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>imagebadge_value</th>\n",
       "      <td>NaN</td>\n",
       "      <td>9 photos</td>\n",
       "      <td>5 photos</td>\n",
       "      <td>7 photos</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>9 photos</td>\n",
       "      <td>4 photos</td>\n",
       "      <td>6 photos</td>\n",
       "      <td>NaN</td>\n",
       "      <td>4 photos</td>\n",
       "      <td>6 photos</td>\n",
       "      <td>10 photos</td>\n",
       "      <td>6 photos</td>\n",
       "      <td>17 photos</td>\n",
       "      <td>...</td>\n",
       "      <td>5 photos</td>\n",
       "      <td>8 photos</td>\n",
       "      <td>5 photos</td>\n",
       "      <td>4 photos</td>\n",
       "      <td>6 photos</td>\n",
       "      <td>5 photos</td>\n",
       "      <td>6 photos</td>\n",
       "      <td>5 photos</td>\n",
       "      <td>6 photos</td>\n",
       "      <td>NaN</td>\n",
       "      <td>5 photos</td>\n",
       "      <td>4 photos</td>\n",
       "      <td>4 photos</td>\n",
       "      <td>4 photos</td>\n",
       "      <td>1 photo</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>imagebadge_value_numbers</th>\n",
       "      <td>NaN</td>\n",
       "      <td>9</td>\n",
       "      <td>5</td>\n",
       "      <td>7</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>9</td>\n",
       "      <td>4</td>\n",
       "      <td>6</td>\n",
       "      <td>NaN</td>\n",
       "      <td>4</td>\n",
       "      <td>6</td>\n",
       "      <td>10</td>\n",
       "      <td>6</td>\n",
       "      <td>17</td>\n",
       "      <td>...</td>\n",
       "      <td>5</td>\n",
       "      <td>8</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "      <td>6</td>\n",
       "      <td>5</td>\n",
       "      <td>6</td>\n",
       "      <td>5</td>\n",
       "      <td>6</td>\n",
       "      <td>NaN</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>routable_link</th>\n",
       "      <td>http://www.zillow.com/homedetails/9-E-129th-St-1-New-York-NY-10035/2100761096_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/710-Riverside-Dr-APT-2C-New-York-NY-10031/124451755_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/413-E-84th-St-APT-8-New-York-NY-10028/2100761260_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/324-Pleasant-Ave-APT-6E-New-York-NY-10035/2100761258_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/217-Thompson-St-APT-6-New-York-NY-10012/2100761371_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/340-W-47th-St-APT-4C-New-York-NY-10036/2108861613_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/1356-1st-Ave-APT-5B-New-York-NY-10021/31539199_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/101-W-77th-St-APT-3C-New-York-NY-10024/2114511658_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/111-W-74th-St-APT-2R-New-York-NY-10023/2123304010_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/646-10th-Ave-APT-4B-New-York-NY-10036/2114397534_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/76-Carmine-St-APT-4C-New-York-NY-10014/2110813540_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/146-W-120th-St-APT-8-New-York-NY-10027/2100762986_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/137-W-72nd-St-APT-4FE-New-York-NY-10023/2105480982_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/178-Avenue-B-2-New-York-NY-10009/2100763265_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/95-Wall-St-72791-New-York-NY-10005/2103168440_zpid/</td>\n",
       "      <td>...</td>\n",
       "      <td>http://www.zillow.com/homedetails/304-E-41st-St-APT-1107A-New-York-NY-10017/2100774366_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/169-Avenue-A-APT-1-New-York-NY-10009/2105208117_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/722-10th-Ave-APT-3A-New-York-NY-10019/2126268388_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/200-W-70th-St-APT-11L3-New-York-NY-10023/2100774851_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/219-W-78th-St-APT-2F-New-York-NY-10024/2100775303_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/405-W-49th-St-APT-2W-New-York-NY-10019/2100776286_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/230-E-26th-St-APT-3A-New-York-NY-10010/2100776283_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/319-E-53rd-St-APT-2B-New-York-NY-10022/2104750345_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/53-Irving-Pl-APT-3K-New-York-NY-10003/2103128441_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/25-E-67th-St-APT-8D-New-York-NY-10065/2100777265_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/303-E-73rd-St-E-New-York-NY-10021/2100777278_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/422-E-81st-St-APT-4A-New-York-NY-10028/2111603077_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/445-W-49th-St-APT-3B-New-York-NY-10019/2106388119_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/203-E-121st-St-APT-901-New-York-NY-10035/2100777283_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/434-E-72nd-St-APT-2C-New-York-NY-10021/2120058527_zpid/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>routable_link/_text</th>\n",
       "      <td>9 E 129th St # 1, New York, NY10035</td>\n",
       "      <td>710 Riverside Dr APT 2C, New York, NY10031</td>\n",
       "      <td>413 E 84th St APT 8, New York, NY10028</td>\n",
       "      <td>324 Pleasant Ave APT 6E, New York, NY10035</td>\n",
       "      <td>217 Thompson St APT 6, New York, NY10012</td>\n",
       "      <td>340 W 47th St APT 4C, New York, NY10036</td>\n",
       "      <td>1356 1st Ave APT 5B, New York, NY10021</td>\n",
       "      <td>101 W 77th St APT 3C, New York, NY10024</td>\n",
       "      <td>111 W 74th St APT 2R, New York, NY10023</td>\n",
       "      <td>646 10th Ave APT 4B, New York, NY10036</td>\n",
       "      <td>76 Carmine St APT 4C, New York, NY10014</td>\n",
       "      <td>146 W 120th St APT 8, New York, NY10027</td>\n",
       "      <td>137 W 72nd St APT 4FE, New York, NY10023</td>\n",
       "      <td>178 Avenue B # 2, New York, NY10009</td>\n",
       "      <td>95 Wall St, New York, NY</td>\n",
       "      <td>...</td>\n",
       "      <td>304 E 41st St APT 1107A, New York, NY10017</td>\n",
       "      <td>169 Avenue A APT 1, New York, NY10009</td>\n",
       "      <td>722 10th Ave APT 3A, New York, NY10019</td>\n",
       "      <td>200 W 70th St APT 11L3, New York, NY10023</td>\n",
       "      <td>219 W 78th St APT 2F, New York, NY10024</td>\n",
       "      <td>405 W 49th St APT 2W, New York, NY10019</td>\n",
       "      <td>230 E 26th St APT 3A, New York, NY10010</td>\n",
       "      <td>319 E 53rd St APT 2B, New York, NY10022</td>\n",
       "      <td>53 Irving Pl APT 3K, New York, NY10003</td>\n",
       "      <td>25 E 67th St APT 8D, New York, NY10065</td>\n",
       "      <td>303 E 73rd St # E, New York, NY10021</td>\n",
       "      <td>422 E 81st St APT 4A, New York, NY10028</td>\n",
       "      <td>445 W 49th St APT 3B, New York, NY10019</td>\n",
       "      <td>203 E 121st St APT 901, New York, NY10035</td>\n",
       "      <td>434 E 72nd St APT 2C, New York, NY10021</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>routable_link/_title</th>\n",
       "      <td>9 E 129th St # 1, New York, NY Real Estate</td>\n",
       "      <td>710 Riverside Dr APT 2C, New York, NY Real Estate</td>\n",
       "      <td>413 E 84th St APT 8, New York, NY Real Estate</td>\n",
       "      <td>324 Pleasant Ave APT 6E, New York, NY Real Estate</td>\n",
       "      <td>217 Thompson St APT 6, New York, NY Real Estate</td>\n",
       "      <td>340 W 47th St APT 4C, New York, NY Real Estate</td>\n",
       "      <td>1356 1st Ave APT 5B, New York, NY Real Estate</td>\n",
       "      <td>101 W 77th St APT 3C, New York, NY Real Estate</td>\n",
       "      <td>111 W 74th St APT 2R, New York, NY Real Estate</td>\n",
       "      <td>646 10th Ave APT 4B, New York, NY Real Estate</td>\n",
       "      <td>76 Carmine St APT 4C, New York, NY Real Estate</td>\n",
       "      <td>146 W 120th St APT 8, New York, NY Real Estate</td>\n",
       "      <td>137 W 72nd St APT 4FE, New York, NY Real Estate</td>\n",
       "      <td>178 Avenue B # 2, New York, NY Real Estate</td>\n",
       "      <td>95 Wall, Studio E1O Real Estate</td>\n",
       "      <td>...</td>\n",
       "      <td>304 E 41st St APT 1107A, New York, NY Real Estate</td>\n",
       "      <td>169 Avenue A APT 1, New York, NY Real Estate</td>\n",
       "      <td>722 10th Ave APT 3A, New York, NY Real Estate</td>\n",
       "      <td>200 W 70th St APT 11L3, New York, NY Real Estate</td>\n",
       "      <td>219 W 78th St APT 2F, New York, NY Real Estate</td>\n",
       "      <td>405 W 49th St APT 2W, New York, NY Real Estate</td>\n",
       "      <td>230 E 26th St APT 3A, New York, NY Real Estate</td>\n",
       "      <td>319 E 53rd St APT 2B, New York, NY Real Estate</td>\n",
       "      <td>53 Irving Pl APT 3K, New York, NY Real Estate</td>\n",
       "      <td>25 E 67th St APT 8D, New York, NY Real Estate</td>\n",
       "      <td>303 E 73rd St # E, New York, NY Real Estate</td>\n",
       "      <td>422 E 81st St APT 4A, New York, NY Real Estate</td>\n",
       "      <td>445 W 49th St APT 3B, New York, NY Real Estate</td>\n",
       "      <td>203 E 121st St APT 901, New York, NY Real Estate</td>\n",
       "      <td>434 E 72nd St APT 2C, New York, NY Real Estate</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>routable_link_numbers</th>\n",
       "      <td>9; 129; 1</td>\n",
       "      <td>710; 2</td>\n",
       "      <td>413; 84; 8</td>\n",
       "      <td>324; 6</td>\n",
       "      <td>217; 6</td>\n",
       "      <td>340; 47; 4</td>\n",
       "      <td>1356; 1; 5</td>\n",
       "      <td>101; 77; 3</td>\n",
       "      <td>111; 74; 2</td>\n",
       "      <td>646; 10; 4</td>\n",
       "      <td>76; 4</td>\n",
       "      <td>146; 120; 8</td>\n",
       "      <td>137; 72; 4</td>\n",
       "      <td>178; 2</td>\n",
       "      <td>95</td>\n",
       "      <td>...</td>\n",
       "      <td>304; 41; 1107</td>\n",
       "      <td>169; 1</td>\n",
       "      <td>722; 10; 3</td>\n",
       "      <td>200; 70; 11</td>\n",
       "      <td>219; 78; 2</td>\n",
       "      <td>405; 49; 2</td>\n",
       "      <td>230; 26; 3</td>\n",
       "      <td>319; 53; 2</td>\n",
       "      <td>53; 3</td>\n",
       "      <td>25; 67; 8</td>\n",
       "      <td>303; 73</td>\n",
       "      <td>422; 81; 4</td>\n",
       "      <td>445; 49; 3</td>\n",
       "      <td>203; 121; 901</td>\n",
       "      <td>434; 72; 2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>listingtype_value</th>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>...</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>pricelarge_value</th>\n",
       "      <td>$1,750/mo</td>\n",
       "      <td>$3,000/mo</td>\n",
       "      <td>$2,300/mo</td>\n",
       "      <td>$2,500/mo</td>\n",
       "      <td>$2,800/mo</td>\n",
       "      <td>$2,490/mo</td>\n",
       "      <td>$2,750/mo</td>\n",
       "      <td>$2,150/mo</td>\n",
       "      <td>$2,875/mo</td>\n",
       "      <td>$2,225/mo</td>\n",
       "      <td>$2,450/mo</td>\n",
       "      <td>$1,800/mo</td>\n",
       "      <td>$2,850/mo</td>\n",
       "      <td>$2,700/mo</td>\n",
       "      <td>$3,000+/mo</td>\n",
       "      <td>...</td>\n",
       "      <td>$2,200/mo</td>\n",
       "      <td>$2,195/mo</td>\n",
       "      <td>$2,995/mo</td>\n",
       "      <td>$1,895/mo</td>\n",
       "      <td>$2,493/mo</td>\n",
       "      <td>$2,925/mo</td>\n",
       "      <td>$2,940/mo</td>\n",
       "      <td>$2,170/mo</td>\n",
       "      <td>$2,300/mo</td>\n",
       "      <td>$2,600/mo</td>\n",
       "      <td>$2,265/mo</td>\n",
       "      <td>$2,150/mo</td>\n",
       "      <td>$2,195/mo</td>\n",
       "      <td>$1,795/mo</td>\n",
       "      <td>$2,150/mo</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>pricelarge_value_prices</th>\n",
       "      <td>1.75e+03</td>\n",
       "      <td>3e+03</td>\n",
       "      <td>2.3e+03</td>\n",
       "      <td>2.5e+03</td>\n",
       "      <td>2.8e+03</td>\n",
       "      <td>2.49e+03</td>\n",
       "      <td>2.75e+03</td>\n",
       "      <td>2.15e+03</td>\n",
       "      <td>2.88e+03</td>\n",
       "      <td>2.22e+03</td>\n",
       "      <td>2.45e+03</td>\n",
       "      <td>1.8e+03</td>\n",
       "      <td>2.85e+03</td>\n",
       "      <td>2.7e+03</td>\n",
       "      <td>3e+03</td>\n",
       "      <td>...</td>\n",
       "      <td>2.2e+03</td>\n",
       "      <td>2.2e+03</td>\n",
       "      <td>3e+03</td>\n",
       "      <td>1.9e+03</td>\n",
       "      <td>2.49e+03</td>\n",
       "      <td>2.92e+03</td>\n",
       "      <td>2.94e+03</td>\n",
       "      <td>2.17e+03</td>\n",
       "      <td>2.3e+03</td>\n",
       "      <td>2.6e+03</td>\n",
       "      <td>2.26e+03</td>\n",
       "      <td>2.15e+03</td>\n",
       "      <td>2.2e+03</td>\n",
       "      <td>1.8e+03</td>\n",
       "      <td>2.15e+03</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>propertyinfo_value</th>\n",
       "      <td>1 bd • 1 ba</td>\n",
       "      <td>2 bds • 2 ba • 1,016 sqft</td>\n",
       "      <td>Studio • 1 ba</td>\n",
       "      <td>2 bds • 1 ba</td>\n",
       "      <td>2 bds • 1 ba</td>\n",
       "      <td>1 bd • 1 ba</td>\n",
       "      <td>1 bd • 1 ba • 496 sqft • 4,502 sqft lot • Built 1900</td>\n",
       "      <td>Studio • 1 ba</td>\n",
       "      <td>1 bd • 1 ba</td>\n",
       "      <td>1 bd • 1 ba</td>\n",
       "      <td>Studio • 1 ba</td>\n",
       "      <td>1 bd • 1 ba</td>\n",
       "      <td>1 bd • 1 ba • 700 sqft</td>\n",
       "      <td>1 bd • 1 ba</td>\n",
       "      <td>Studio • 1 ba • 487 sqft</td>\n",
       "      <td>...</td>\n",
       "      <td>Studio • 1 ba</td>\n",
       "      <td>Studio • 1 ba</td>\n",
       "      <td>1 bd • 1 ba • 475 sqft • Built 1900</td>\n",
       "      <td>Studio • 1 ba</td>\n",
       "      <td>1 bd • 1 ba • 500 sqft</td>\n",
       "      <td>2 bds • 1 ba</td>\n",
       "      <td>2 bds • 1 ba</td>\n",
       "      <td>Studio • 1 ba</td>\n",
       "      <td>Studio • 1 ba • 400 sqft</td>\n",
       "      <td>Studio • 1 ba</td>\n",
       "      <td>1 bd • 1 ba</td>\n",
       "      <td>1 bd • 1 ba</td>\n",
       "      <td>Studio • 1 ba</td>\n",
       "      <td>Studio • 1 ba • 550 sqft</td>\n",
       "      <td>1 bd • 1 ba</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>propertyinfo_value_numbers</th>\n",
       "      <td>1; 1</td>\n",
       "      <td>2; 2; 1016</td>\n",
       "      <td>1</td>\n",
       "      <td>2; 1</td>\n",
       "      <td>2; 1</td>\n",
       "      <td>1; 1</td>\n",
       "      <td>1; 1; 496; 4502; 1900</td>\n",
       "      <td>1</td>\n",
       "      <td>1; 1</td>\n",
       "      <td>1; 1</td>\n",
       "      <td>1</td>\n",
       "      <td>1; 1</td>\n",
       "      <td>1; 1; 700</td>\n",
       "      <td>1; 1</td>\n",
       "      <td>1; 487</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1; 1; 475; 1900</td>\n",
       "      <td>1</td>\n",
       "      <td>1; 1; 500</td>\n",
       "      <td>2; 1</td>\n",
       "      <td>2; 1</td>\n",
       "      <td>1</td>\n",
       "      <td>1; 400</td>\n",
       "      <td>1</td>\n",
       "      <td>1; 1</td>\n",
       "      <td>1; 1</td>\n",
       "      <td>1</td>\n",
       "      <td>1; 550</td>\n",
       "      <td>1; 1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>fineprint_value</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>fineprint_value_numbers</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>tozcount_number</th>\n",
       "      <td>48</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>6</td>\n",
       "      <td>6</td>\n",
       "      <td>6</td>\n",
       "      <td>6</td>\n",
       "      <td>6</td>\n",
       "      <td>7</td>\n",
       "      <td>9</td>\n",
       "      <td>9</td>\n",
       "      <td>10</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>tozfresh_value</th>\n",
       "      <td>minutes ago</td>\n",
       "      <td>hour ago</td>\n",
       "      <td>hours ago</td>\n",
       "      <td>hours ago</td>\n",
       "      <td>hours ago</td>\n",
       "      <td>hours ago</td>\n",
       "      <td>hours ago</td>\n",
       "      <td>hours ago</td>\n",
       "      <td>hours ago</td>\n",
       "      <td>hours ago</td>\n",
       "      <td>hours ago</td>\n",
       "      <td>hours ago</td>\n",
       "      <td>hours ago</td>\n",
       "      <td>hours ago</td>\n",
       "      <td>Updated today</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>tablegrouped_values</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>tablegrouped_values_prices</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>_PAGE_NUMBER</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>19</td>\n",
       "      <td>19</td>\n",
       "      <td>20</td>\n",
       "      <td>20</td>\n",
       "      <td>20</td>\n",
       "      <td>20</td>\n",
       "      <td>20</td>\n",
       "      <td>20</td>\n",
       "      <td>20</td>\n",
       "      <td>20</td>\n",
       "      <td>20</td>\n",
       "      <td>20</td>\n",
       "      <td>20</td>\n",
       "      <td>20</td>\n",
       "      <td>20</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Baths</th>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Beds</th>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>Studio</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>...</td>\n",
       "      <td>Studio</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>Studio</td>\n",
       "      <td>Studio</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Sqft</th>\n",
       "      <td>NaN</td>\n",
       "      <td>1,016</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>496</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>700</td>\n",
       "      <td>NaN</td>\n",
       "      <td>487</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>475</td>\n",
       "      <td>NaN</td>\n",
       "      <td>500</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>400</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>550</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>26 rows × 333 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                                                                            2    \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/9-E-129th-St-1-New-York-NY-10035/2100761096_zpid/   \n",
       "routablemask_link/_text                                                                                     NaN   \n",
       "routablemask_link/_title                                                                                    NaN   \n",
       "routablemask_link_numbers                                                                                   NaN   \n",
       "routablemask_content                                                                                        NaN   \n",
       "imagebadge_value                                                                                            NaN   \n",
       "imagebadge_value_numbers                                                                                    NaN   \n",
       "routable_link               http://www.zillow.com/homedetails/9-E-129th-St-1-New-York-NY-10035/2100761096_zpid/   \n",
       "routable_link/_text                                                         9 E 129th St # 1, New York, NY10035   \n",
       "routable_link/_title                                                 9 E 129th St # 1, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                 9; 129; 1   \n",
       "listingtype_value                                                                            Apartment For Rent   \n",
       "pricelarge_value                                                                                      $1,750/mo   \n",
       "pricelarge_value_prices                                                                                1.75e+03   \n",
       "propertyinfo_value                                                                                  1 bd • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                 1; 1   \n",
       "fineprint_value                                                                                             NaN   \n",
       "fineprint_value_numbers                                                                                     NaN   \n",
       "tozcount_number                                                                                              48   \n",
       "tozfresh_value                                                                                      minutes ago   \n",
       "tablegrouped_values                                                                                         NaN   \n",
       "tablegrouped_values_prices                                                                                  NaN   \n",
       "_PAGE_NUMBER                                                                                                  1   \n",
       "Baths                                                                                                         1   \n",
       "Beds                                                                                                          1   \n",
       "Sqft                                                                                                        NaN   \n",
       "\n",
       "                                                                                                                    3    \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/710-Riverside-Dr-APT-2C-New-York-NY-10031/124451755_zpid/   \n",
       "routablemask_link/_text                                                                                        9 photos   \n",
       "routablemask_link/_title                                                                                            NaN   \n",
       "routablemask_link_numbers                                                                                             9   \n",
       "routablemask_content                                                                                                NaN   \n",
       "imagebadge_value                                                                                               9 photos   \n",
       "imagebadge_value_numbers                                                                                              9   \n",
       "routable_link               http://www.zillow.com/homedetails/710-Riverside-Dr-APT-2C-New-York-NY-10031/124451755_zpid/   \n",
       "routable_link/_text                                                          710 Riverside Dr APT 2C, New York, NY10031   \n",
       "routable_link/_title                                                  710 Riverside Dr APT 2C, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                            710; 2   \n",
       "listingtype_value                                                                                    Apartment For Rent   \n",
       "pricelarge_value                                                                                              $3,000/mo   \n",
       "pricelarge_value_prices                                                                                           3e+03   \n",
       "propertyinfo_value                                                                            2 bds • 2 ba • 1,016 sqft   \n",
       "propertyinfo_value_numbers                                                                                   2; 2; 1016   \n",
       "fineprint_value                                                                                                     NaN   \n",
       "fineprint_value_numbers                                                                                             NaN   \n",
       "tozcount_number                                                                                                       1   \n",
       "tozfresh_value                                                                                                 hour ago   \n",
       "tablegrouped_values                                                                                                 NaN   \n",
       "tablegrouped_values_prices                                                                                          NaN   \n",
       "_PAGE_NUMBER                                                                                                          1   \n",
       "Baths                                                                                                                 2   \n",
       "Beds                                                                                                                  2   \n",
       "Sqft                                                                                                              1,016   \n",
       "\n",
       "                                                                                                                 4    \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/413-E-84th-St-APT-8-New-York-NY-10028/2100761260_zpid/   \n",
       "routablemask_link/_text                                                                                     5 photos   \n",
       "routablemask_link/_title                                                                                         NaN   \n",
       "routablemask_link_numbers                                                                                          5   \n",
       "routablemask_content                                                                                             NaN   \n",
       "imagebadge_value                                                                                            5 photos   \n",
       "imagebadge_value_numbers                                                                                           5   \n",
       "routable_link               http://www.zillow.com/homedetails/413-E-84th-St-APT-8-New-York-NY-10028/2100761260_zpid/   \n",
       "routable_link/_text                                                           413 E 84th St APT 8, New York, NY10028   \n",
       "routable_link/_title                                                   413 E 84th St APT 8, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                     413; 84; 8   \n",
       "listingtype_value                                                                                 Apartment For Rent   \n",
       "pricelarge_value                                                                                           $2,300/mo   \n",
       "pricelarge_value_prices                                                                                      2.3e+03   \n",
       "propertyinfo_value                                                                                     Studio • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                         1   \n",
       "fineprint_value                                                                                                  NaN   \n",
       "fineprint_value_numbers                                                                                          NaN   \n",
       "tozcount_number                                                                                                    2   \n",
       "tozfresh_value                                                                                             hours ago   \n",
       "tablegrouped_values                                                                                              NaN   \n",
       "tablegrouped_values_prices                                                                                       NaN   \n",
       "_PAGE_NUMBER                                                                                                       1   \n",
       "Baths                                                                                                              1   \n",
       "Beds                                                                                                          Studio   \n",
       "Sqft                                                                                                             NaN   \n",
       "\n",
       "                                                                                                                     5    \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/324-Pleasant-Ave-APT-6E-New-York-NY-10035/2100761258_zpid/   \n",
       "routablemask_link/_text                                                                                         7 photos   \n",
       "routablemask_link/_title                                                                                             NaN   \n",
       "routablemask_link_numbers                                                                                              7   \n",
       "routablemask_content                                                                                                 NaN   \n",
       "imagebadge_value                                                                                                7 photos   \n",
       "imagebadge_value_numbers                                                                                               7   \n",
       "routable_link               http://www.zillow.com/homedetails/324-Pleasant-Ave-APT-6E-New-York-NY-10035/2100761258_zpid/   \n",
       "routable_link/_text                                                           324 Pleasant Ave APT 6E, New York, NY10035   \n",
       "routable_link/_title                                                   324 Pleasant Ave APT 6E, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                             324; 6   \n",
       "listingtype_value                                                                                     Apartment For Rent   \n",
       "pricelarge_value                                                                                               $2,500/mo   \n",
       "pricelarge_value_prices                                                                                          2.5e+03   \n",
       "propertyinfo_value                                                                                          2 bds • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                          2; 1   \n",
       "fineprint_value                                                                                                      NaN   \n",
       "fineprint_value_numbers                                                                                              NaN   \n",
       "tozcount_number                                                                                                        2   \n",
       "tozfresh_value                                                                                                 hours ago   \n",
       "tablegrouped_values                                                                                                  NaN   \n",
       "tablegrouped_values_prices                                                                                           NaN   \n",
       "_PAGE_NUMBER                                                                                                           1   \n",
       "Baths                                                                                                                  1   \n",
       "Beds                                                                                                                   2   \n",
       "Sqft                                                                                                                 NaN   \n",
       "\n",
       "                                                                                                                   7    \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/217-Thompson-St-APT-6-New-York-NY-10012/2100761371_zpid/   \n",
       "routablemask_link/_text                                                                                            NaN   \n",
       "routablemask_link/_title                                                                                           NaN   \n",
       "routablemask_link_numbers                                                                                          NaN   \n",
       "routablemask_content                                                                                               NaN   \n",
       "imagebadge_value                                                                                                   NaN   \n",
       "imagebadge_value_numbers                                                                                           NaN   \n",
       "routable_link               http://www.zillow.com/homedetails/217-Thompson-St-APT-6-New-York-NY-10012/2100761371_zpid/   \n",
       "routable_link/_text                                                           217 Thompson St APT 6, New York, NY10012   \n",
       "routable_link/_title                                                   217 Thompson St APT 6, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                           217; 6   \n",
       "listingtype_value                                                                                   Apartment For Rent   \n",
       "pricelarge_value                                                                                             $2,800/mo   \n",
       "pricelarge_value_prices                                                                                        2.8e+03   \n",
       "propertyinfo_value                                                                                        2 bds • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                        2; 1   \n",
       "fineprint_value                                                                                                    NaN   \n",
       "fineprint_value_numbers                                                                                            NaN   \n",
       "tozcount_number                                                                                                      3   \n",
       "tozfresh_value                                                                                               hours ago   \n",
       "tablegrouped_values                                                                                                NaN   \n",
       "tablegrouped_values_prices                                                                                         NaN   \n",
       "_PAGE_NUMBER                                                                                                         1   \n",
       "Baths                                                                                                                1   \n",
       "Beds                                                                                                                 2   \n",
       "Sqft                                                                                                               NaN   \n",
       "\n",
       "                                                                                                                  10   \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/340-W-47th-St-APT-4C-New-York-NY-10036/2108861613_zpid/   \n",
       "routablemask_link/_text                                                                                           NaN   \n",
       "routablemask_link/_title                                                                                          NaN   \n",
       "routablemask_link_numbers                                                                                         NaN   \n",
       "routablemask_content                                                                                              NaN   \n",
       "imagebadge_value                                                                                                  NaN   \n",
       "imagebadge_value_numbers                                                                                          NaN   \n",
       "routable_link               http://www.zillow.com/homedetails/340-W-47th-St-APT-4C-New-York-NY-10036/2108861613_zpid/   \n",
       "routable_link/_text                                                           340 W 47th St APT 4C, New York, NY10036   \n",
       "routable_link/_title                                                   340 W 47th St APT 4C, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                      340; 47; 4   \n",
       "listingtype_value                                                                                  Apartment For Rent   \n",
       "pricelarge_value                                                                                            $2,490/mo   \n",
       "pricelarge_value_prices                                                                                      2.49e+03   \n",
       "propertyinfo_value                                                                                        1 bd • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                       1; 1   \n",
       "fineprint_value                                                                                                   NaN   \n",
       "fineprint_value_numbers                                                                                           NaN   \n",
       "tozcount_number                                                                                                     6   \n",
       "tozfresh_value                                                                                              hours ago   \n",
       "tablegrouped_values                                                                                               NaN   \n",
       "tablegrouped_values_prices                                                                                        NaN   \n",
       "_PAGE_NUMBER                                                                                                        1   \n",
       "Baths                                                                                                               1   \n",
       "Beds                                                                                                                1   \n",
       "Sqft                                                                                                              NaN   \n",
       "\n",
       "                                                                                                               11   \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/1356-1st-Ave-APT-5B-New-York-NY-10021/31539199_zpid/   \n",
       "routablemask_link/_text                                                                                   9 photos   \n",
       "routablemask_link/_title                                                                                       NaN   \n",
       "routablemask_link_numbers                                                                                        9   \n",
       "routablemask_content                                                                                           NaN   \n",
       "imagebadge_value                                                                                          9 photos   \n",
       "imagebadge_value_numbers                                                                                         9   \n",
       "routable_link               http://www.zillow.com/homedetails/1356-1st-Ave-APT-5B-New-York-NY-10021/31539199_zpid/   \n",
       "routable_link/_text                                                         1356 1st Ave APT 5B, New York, NY10021   \n",
       "routable_link/_title                                                 1356 1st Ave APT 5B, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                   1356; 1; 5   \n",
       "listingtype_value                                                                               Apartment For Rent   \n",
       "pricelarge_value                                                                                         $2,750/mo   \n",
       "pricelarge_value_prices                                                                                   2.75e+03   \n",
       "propertyinfo_value                                            1 bd • 1 ba • 496 sqft • 4,502 sqft lot • Built 1900   \n",
       "propertyinfo_value_numbers                                                                   1; 1; 496; 4502; 1900   \n",
       "fineprint_value                                                                                                NaN   \n",
       "fineprint_value_numbers                                                                                        NaN   \n",
       "tozcount_number                                                                                                  6   \n",
       "tozfresh_value                                                                                           hours ago   \n",
       "tablegrouped_values                                                                                            NaN   \n",
       "tablegrouped_values_prices                                                                                     NaN   \n",
       "_PAGE_NUMBER                                                                                                     1   \n",
       "Baths                                                                                                            1   \n",
       "Beds                                                                                                             1   \n",
       "Sqft                                                                                                           496   \n",
       "\n",
       "                                                                                                                  12   \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/101-W-77th-St-APT-3C-New-York-NY-10024/2114511658_zpid/   \n",
       "routablemask_link/_text                                                                                      4 photos   \n",
       "routablemask_link/_title                                                                                          NaN   \n",
       "routablemask_link_numbers                                                                                           4   \n",
       "routablemask_content                                                                                              NaN   \n",
       "imagebadge_value                                                                                             4 photos   \n",
       "imagebadge_value_numbers                                                                                            4   \n",
       "routable_link               http://www.zillow.com/homedetails/101-W-77th-St-APT-3C-New-York-NY-10024/2114511658_zpid/   \n",
       "routable_link/_text                                                           101 W 77th St APT 3C, New York, NY10024   \n",
       "routable_link/_title                                                   101 W 77th St APT 3C, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                      101; 77; 3   \n",
       "listingtype_value                                                                                  Apartment For Rent   \n",
       "pricelarge_value                                                                                            $2,150/mo   \n",
       "pricelarge_value_prices                                                                                      2.15e+03   \n",
       "propertyinfo_value                                                                                      Studio • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                          1   \n",
       "fineprint_value                                                                                                   NaN   \n",
       "fineprint_value_numbers                                                                                           NaN   \n",
       "tozcount_number                                                                                                     6   \n",
       "tozfresh_value                                                                                              hours ago   \n",
       "tablegrouped_values                                                                                               NaN   \n",
       "tablegrouped_values_prices                                                                                        NaN   \n",
       "_PAGE_NUMBER                                                                                                        1   \n",
       "Baths                                                                                                               1   \n",
       "Beds                                                                                                           Studio   \n",
       "Sqft                                                                                                              NaN   \n",
       "\n",
       "                                                                                                                  13   \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/111-W-74th-St-APT-2R-New-York-NY-10023/2123304010_zpid/   \n",
       "routablemask_link/_text                                                                                      6 photos   \n",
       "routablemask_link/_title                                                                                          NaN   \n",
       "routablemask_link_numbers                                                                                           6   \n",
       "routablemask_content                                                                                              NaN   \n",
       "imagebadge_value                                                                                             6 photos   \n",
       "imagebadge_value_numbers                                                                                            6   \n",
       "routable_link               http://www.zillow.com/homedetails/111-W-74th-St-APT-2R-New-York-NY-10023/2123304010_zpid/   \n",
       "routable_link/_text                                                           111 W 74th St APT 2R, New York, NY10023   \n",
       "routable_link/_title                                                   111 W 74th St APT 2R, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                      111; 74; 2   \n",
       "listingtype_value                                                                                  Apartment For Rent   \n",
       "pricelarge_value                                                                                            $2,875/mo   \n",
       "pricelarge_value_prices                                                                                      2.88e+03   \n",
       "propertyinfo_value                                                                                        1 bd • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                       1; 1   \n",
       "fineprint_value                                                                                                   NaN   \n",
       "fineprint_value_numbers                                                                                           NaN   \n",
       "tozcount_number                                                                                                     6   \n",
       "tozfresh_value                                                                                              hours ago   \n",
       "tablegrouped_values                                                                                               NaN   \n",
       "tablegrouped_values_prices                                                                                        NaN   \n",
       "_PAGE_NUMBER                                                                                                        1   \n",
       "Baths                                                                                                               1   \n",
       "Beds                                                                                                                1   \n",
       "Sqft                                                                                                              NaN   \n",
       "\n",
       "                                                                                                                 17   \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/646-10th-Ave-APT-4B-New-York-NY-10036/2114397534_zpid/   \n",
       "routablemask_link/_text                                                                                          NaN   \n",
       "routablemask_link/_title                                                                                         NaN   \n",
       "routablemask_link_numbers                                                                                        NaN   \n",
       "routablemask_content                                                                                             NaN   \n",
       "imagebadge_value                                                                                                 NaN   \n",
       "imagebadge_value_numbers                                                                                         NaN   \n",
       "routable_link               http://www.zillow.com/homedetails/646-10th-Ave-APT-4B-New-York-NY-10036/2114397534_zpid/   \n",
       "routable_link/_text                                                           646 10th Ave APT 4B, New York, NY10036   \n",
       "routable_link/_title                                                   646 10th Ave APT 4B, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                     646; 10; 4   \n",
       "listingtype_value                                                                                 Apartment For Rent   \n",
       "pricelarge_value                                                                                           $2,225/mo   \n",
       "pricelarge_value_prices                                                                                     2.22e+03   \n",
       "propertyinfo_value                                                                                       1 bd • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                      1; 1   \n",
       "fineprint_value                                                                                                  NaN   \n",
       "fineprint_value_numbers                                                                                          NaN   \n",
       "tozcount_number                                                                                                    6   \n",
       "tozfresh_value                                                                                             hours ago   \n",
       "tablegrouped_values                                                                                              NaN   \n",
       "tablegrouped_values_prices                                                                                       NaN   \n",
       "_PAGE_NUMBER                                                                                                       1   \n",
       "Baths                                                                                                              1   \n",
       "Beds                                                                                                               1   \n",
       "Sqft                                                                                                             NaN   \n",
       "\n",
       "                                                                                                                  18   \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/76-Carmine-St-APT-4C-New-York-NY-10014/2110813540_zpid/   \n",
       "routablemask_link/_text                                                                                      4 photos   \n",
       "routablemask_link/_title                                                                                          NaN   \n",
       "routablemask_link_numbers                                                                                           4   \n",
       "routablemask_content                                                                                              NaN   \n",
       "imagebadge_value                                                                                             4 photos   \n",
       "imagebadge_value_numbers                                                                                            4   \n",
       "routable_link               http://www.zillow.com/homedetails/76-Carmine-St-APT-4C-New-York-NY-10014/2110813540_zpid/   \n",
       "routable_link/_text                                                           76 Carmine St APT 4C, New York, NY10014   \n",
       "routable_link/_title                                                   76 Carmine St APT 4C, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                           76; 4   \n",
       "listingtype_value                                                                                  Apartment For Rent   \n",
       "pricelarge_value                                                                                            $2,450/mo   \n",
       "pricelarge_value_prices                                                                                      2.45e+03   \n",
       "propertyinfo_value                                                                                      Studio • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                          1   \n",
       "fineprint_value                                                                                                   NaN   \n",
       "fineprint_value_numbers                                                                                           NaN   \n",
       "tozcount_number                                                                                                     7   \n",
       "tozfresh_value                                                                                              hours ago   \n",
       "tablegrouped_values                                                                                               NaN   \n",
       "tablegrouped_values_prices                                                                                        NaN   \n",
       "_PAGE_NUMBER                                                                                                        1   \n",
       "Baths                                                                                                               1   \n",
       "Beds                                                                                                           Studio   \n",
       "Sqft                                                                                                              NaN   \n",
       "\n",
       "                                                                                                                  19   \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/146-W-120th-St-APT-8-New-York-NY-10027/2100762986_zpid/   \n",
       "routablemask_link/_text                                                                                      6 photos   \n",
       "routablemask_link/_title                                                                                          NaN   \n",
       "routablemask_link_numbers                                                                                           6   \n",
       "routablemask_content                                                                                              NaN   \n",
       "imagebadge_value                                                                                             6 photos   \n",
       "imagebadge_value_numbers                                                                                            6   \n",
       "routable_link               http://www.zillow.com/homedetails/146-W-120th-St-APT-8-New-York-NY-10027/2100762986_zpid/   \n",
       "routable_link/_text                                                           146 W 120th St APT 8, New York, NY10027   \n",
       "routable_link/_title                                                   146 W 120th St APT 8, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                     146; 120; 8   \n",
       "listingtype_value                                                                                  Apartment For Rent   \n",
       "pricelarge_value                                                                                            $1,800/mo   \n",
       "pricelarge_value_prices                                                                                       1.8e+03   \n",
       "propertyinfo_value                                                                                        1 bd • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                       1; 1   \n",
       "fineprint_value                                                                                                   NaN   \n",
       "fineprint_value_numbers                                                                                           NaN   \n",
       "tozcount_number                                                                                                     9   \n",
       "tozfresh_value                                                                                              hours ago   \n",
       "tablegrouped_values                                                                                               NaN   \n",
       "tablegrouped_values_prices                                                                                        NaN   \n",
       "_PAGE_NUMBER                                                                                                        1   \n",
       "Baths                                                                                                               1   \n",
       "Beds                                                                                                                1   \n",
       "Sqft                                                                                                              NaN   \n",
       "\n",
       "                                                                                                                   20   \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/137-W-72nd-St-APT-4FE-New-York-NY-10023/2105480982_zpid/   \n",
       "routablemask_link/_text                                                                                      10 photos   \n",
       "routablemask_link/_title                                                                                           NaN   \n",
       "routablemask_link_numbers                                                                                           10   \n",
       "routablemask_content                                                                                               NaN   \n",
       "imagebadge_value                                                                                             10 photos   \n",
       "imagebadge_value_numbers                                                                                            10   \n",
       "routable_link               http://www.zillow.com/homedetails/137-W-72nd-St-APT-4FE-New-York-NY-10023/2105480982_zpid/   \n",
       "routable_link/_text                                                           137 W 72nd St APT 4FE, New York, NY10023   \n",
       "routable_link/_title                                                   137 W 72nd St APT 4FE, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                       137; 72; 4   \n",
       "listingtype_value                                                                                   Apartment For Rent   \n",
       "pricelarge_value                                                                                             $2,850/mo   \n",
       "pricelarge_value_prices                                                                                       2.85e+03   \n",
       "propertyinfo_value                                                                              1 bd • 1 ba • 700 sqft   \n",
       "propertyinfo_value_numbers                                                                                   1; 1; 700   \n",
       "fineprint_value                                                                                                    NaN   \n",
       "fineprint_value_numbers                                                                                            NaN   \n",
       "tozcount_number                                                                                                      9   \n",
       "tozfresh_value                                                                                               hours ago   \n",
       "tablegrouped_values                                                                                                NaN   \n",
       "tablegrouped_values_prices                                                                                         NaN   \n",
       "_PAGE_NUMBER                                                                                                         1   \n",
       "Baths                                                                                                                1   \n",
       "Beds                                                                                                                 1   \n",
       "Sqft                                                                                                               700   \n",
       "\n",
       "                                                                                                            21   \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/178-Avenue-B-2-New-York-NY-10009/2100763265_zpid/   \n",
       "routablemask_link/_text                                                                                6 photos   \n",
       "routablemask_link/_title                                                                                    NaN   \n",
       "routablemask_link_numbers                                                                                     6   \n",
       "routablemask_content                                                                                        NaN   \n",
       "imagebadge_value                                                                                       6 photos   \n",
       "imagebadge_value_numbers                                                                                      6   \n",
       "routable_link               http://www.zillow.com/homedetails/178-Avenue-B-2-New-York-NY-10009/2100763265_zpid/   \n",
       "routable_link/_text                                                         178 Avenue B # 2, New York, NY10009   \n",
       "routable_link/_title                                                 178 Avenue B # 2, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                    178; 2   \n",
       "listingtype_value                                                                            Apartment For Rent   \n",
       "pricelarge_value                                                                                      $2,700/mo   \n",
       "pricelarge_value_prices                                                                                 2.7e+03   \n",
       "propertyinfo_value                                                                                  1 bd • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                 1; 1   \n",
       "fineprint_value                                                                                             NaN   \n",
       "fineprint_value_numbers                                                                                     NaN   \n",
       "tozcount_number                                                                                              10   \n",
       "tozfresh_value                                                                                        hours ago   \n",
       "tablegrouped_values                                                                                         NaN   \n",
       "tablegrouped_values_prices                                                                                  NaN   \n",
       "_PAGE_NUMBER                                                                                                  1   \n",
       "Baths                                                                                                         1   \n",
       "Beds                                                                                                          1   \n",
       "Sqft                                                                                                        NaN   \n",
       "\n",
       "                                                                                                              23   \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/95-Wall-St-72791-New-York-NY-10005/2103168440_zpid/   \n",
       "routablemask_link/_text                                                                                 17 photos   \n",
       "routablemask_link/_title                                                                                      NaN   \n",
       "routablemask_link_numbers                                                                                      17   \n",
       "routablemask_content                                                                                          NaN   \n",
       "imagebadge_value                                                                                        17 photos   \n",
       "imagebadge_value_numbers                                                                                       17   \n",
       "routable_link               http://www.zillow.com/homedetails/95-Wall-St-72791-New-York-NY-10005/2103168440_zpid/   \n",
       "routable_link/_text                                                                      95 Wall St, New York, NY   \n",
       "routable_link/_title                                                              95 Wall, Studio E1O Real Estate   \n",
       "routable_link_numbers                                                                                          95   \n",
       "listingtype_value                                                                              Apartment For Rent   \n",
       "pricelarge_value                                                                                       $3,000+/mo   \n",
       "pricelarge_value_prices                                                                                     3e+03   \n",
       "propertyinfo_value                                                                       Studio • 1 ba • 487 sqft   \n",
       "propertyinfo_value_numbers                                                                                 1; 487   \n",
       "fineprint_value                                                                                               NaN   \n",
       "fineprint_value_numbers                                                                                       NaN   \n",
       "tozcount_number                                                                                               NaN   \n",
       "tozfresh_value                                                                                      Updated today   \n",
       "tablegrouped_values                                                                                           NaN   \n",
       "tablegrouped_values_prices                                                                                    NaN   \n",
       "_PAGE_NUMBER                                                                                                    1   \n",
       "Baths                                                                                                           1   \n",
       "Beds                                                                                                       Studio   \n",
       "Sqft                                                                                                          487   \n",
       "\n",
       "                                                                      ...                                              \\\n",
       "routablemask_link                                                     ...                                               \n",
       "routablemask_link/_text                                               ...                                               \n",
       "routablemask_link/_title                                              ...                                               \n",
       "routablemask_link_numbers                                             ...                                               \n",
       "routablemask_content                                                  ...                                               \n",
       "imagebadge_value                                                      ...                                               \n",
       "imagebadge_value_numbers                                              ...                                               \n",
       "routable_link                                                         ...                                               \n",
       "routable_link/_text                                                   ...                                               \n",
       "routable_link/_title                                                  ...                                               \n",
       "routable_link_numbers                                                 ...                                               \n",
       "listingtype_value                                                     ...                                               \n",
       "pricelarge_value                                                      ...                                               \n",
       "pricelarge_value_prices                                               ...                                               \n",
       "propertyinfo_value                                                    ...                                               \n",
       "propertyinfo_value_numbers                                            ...                                               \n",
       "fineprint_value                                                       ...                                               \n",
       "fineprint_value_numbers                                               ...                                               \n",
       "tozcount_number                                                       ...                                               \n",
       "tozfresh_value                                                        ...                                               \n",
       "tablegrouped_values                                                   ...                                               \n",
       "tablegrouped_values_prices                                            ...                                               \n",
       "_PAGE_NUMBER                                                          ...                                               \n",
       "Baths                                                                 ...                                               \n",
       "Beds                                                                  ...                                               \n",
       "Sqft                                                                  ...                                               \n",
       "\n",
       "                                                                                                                     470  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/304-E-41st-St-APT-1107A-New-York-NY-10017/2100774366_zpid/   \n",
       "routablemask_link/_text                                                                                         5 photos   \n",
       "routablemask_link/_title                                                                                             NaN   \n",
       "routablemask_link_numbers                                                                                              5   \n",
       "routablemask_content                                                                                                 NaN   \n",
       "imagebadge_value                                                                                                5 photos   \n",
       "imagebadge_value_numbers                                                                                               5   \n",
       "routable_link               http://www.zillow.com/homedetails/304-E-41st-St-APT-1107A-New-York-NY-10017/2100774366_zpid/   \n",
       "routable_link/_text                                                           304 E 41st St APT 1107A, New York, NY10017   \n",
       "routable_link/_title                                                   304 E 41st St APT 1107A, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                      304; 41; 1107   \n",
       "listingtype_value                                                                                     Apartment For Rent   \n",
       "pricelarge_value                                                                                               $2,200/mo   \n",
       "pricelarge_value_prices                                                                                          2.2e+03   \n",
       "propertyinfo_value                                                                                         Studio • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                             1   \n",
       "fineprint_value                                                                                                      NaN   \n",
       "fineprint_value_numbers                                                                                              NaN   \n",
       "tozcount_number                                                                                                      NaN   \n",
       "tozfresh_value                                                                                                       NaN   \n",
       "tablegrouped_values                                                                                                  NaN   \n",
       "tablegrouped_values_prices                                                                                           NaN   \n",
       "_PAGE_NUMBER                                                                                                          19   \n",
       "Baths                                                                                                                  1   \n",
       "Beds                                                                                                              Studio   \n",
       "Sqft                                                                                                                 NaN   \n",
       "\n",
       "                                                                                                                471  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/169-Avenue-A-APT-1-New-York-NY-10009/2105208117_zpid/   \n",
       "routablemask_link/_text                                                                                    8 photos   \n",
       "routablemask_link/_title                                                                                        NaN   \n",
       "routablemask_link_numbers                                                                                         8   \n",
       "routablemask_content                                                                                            NaN   \n",
       "imagebadge_value                                                                                           8 photos   \n",
       "imagebadge_value_numbers                                                                                          8   \n",
       "routable_link               http://www.zillow.com/homedetails/169-Avenue-A-APT-1-New-York-NY-10009/2105208117_zpid/   \n",
       "routable_link/_text                                                           169 Avenue A APT 1, New York, NY10009   \n",
       "routable_link/_title                                                   169 Avenue A APT 1, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                        169; 1   \n",
       "listingtype_value                                                                                Apartment For Rent   \n",
       "pricelarge_value                                                                                          $2,195/mo   \n",
       "pricelarge_value_prices                                                                                     2.2e+03   \n",
       "propertyinfo_value                                                                                    Studio • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                        1   \n",
       "fineprint_value                                                                                                 NaN   \n",
       "fineprint_value_numbers                                                                                         NaN   \n",
       "tozcount_number                                                                                                 NaN   \n",
       "tozfresh_value                                                                                                  NaN   \n",
       "tablegrouped_values                                                                                             NaN   \n",
       "tablegrouped_values_prices                                                                                      NaN   \n",
       "_PAGE_NUMBER                                                                                                     19   \n",
       "Baths                                                                                                             1   \n",
       "Beds                                                                                                         Studio   \n",
       "Sqft                                                                                                            NaN   \n",
       "\n",
       "                                                                                                                 475  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/722-10th-Ave-APT-3A-New-York-NY-10019/2126268388_zpid/   \n",
       "routablemask_link/_text                                                                                     5 photos   \n",
       "routablemask_link/_title                                                                                         NaN   \n",
       "routablemask_link_numbers                                                                                          5   \n",
       "routablemask_content                                                                                             NaN   \n",
       "imagebadge_value                                                                                            5 photos   \n",
       "imagebadge_value_numbers                                                                                           5   \n",
       "routable_link               http://www.zillow.com/homedetails/722-10th-Ave-APT-3A-New-York-NY-10019/2126268388_zpid/   \n",
       "routable_link/_text                                                           722 10th Ave APT 3A, New York, NY10019   \n",
       "routable_link/_title                                                   722 10th Ave APT 3A, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                     722; 10; 3   \n",
       "listingtype_value                                                                                 Apartment For Rent   \n",
       "pricelarge_value                                                                                           $2,995/mo   \n",
       "pricelarge_value_prices                                                                                        3e+03   \n",
       "propertyinfo_value                                                               1 bd • 1 ba • 475 sqft • Built 1900   \n",
       "propertyinfo_value_numbers                                                                           1; 1; 475; 1900   \n",
       "fineprint_value                                                                                                  NaN   \n",
       "fineprint_value_numbers                                                                                          NaN   \n",
       "tozcount_number                                                                                                  NaN   \n",
       "tozfresh_value                                                                                                   NaN   \n",
       "tablegrouped_values                                                                                              NaN   \n",
       "tablegrouped_values_prices                                                                                       NaN   \n",
       "_PAGE_NUMBER                                                                                                      20   \n",
       "Baths                                                                                                              1   \n",
       "Beds                                                                                                               1   \n",
       "Sqft                                                                                                             475   \n",
       "\n",
       "                                                                                                                    477  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/200-W-70th-St-APT-11L3-New-York-NY-10023/2100774851_zpid/   \n",
       "routablemask_link/_text                                                                                        4 photos   \n",
       "routablemask_link/_title                                                                                            NaN   \n",
       "routablemask_link_numbers                                                                                             4   \n",
       "routablemask_content                                                                                                NaN   \n",
       "imagebadge_value                                                                                               4 photos   \n",
       "imagebadge_value_numbers                                                                                              4   \n",
       "routable_link               http://www.zillow.com/homedetails/200-W-70th-St-APT-11L3-New-York-NY-10023/2100774851_zpid/   \n",
       "routable_link/_text                                                           200 W 70th St APT 11L3, New York, NY10023   \n",
       "routable_link/_title                                                   200 W 70th St APT 11L3, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                       200; 70; 11   \n",
       "listingtype_value                                                                                    Apartment For Rent   \n",
       "pricelarge_value                                                                                              $1,895/mo   \n",
       "pricelarge_value_prices                                                                                         1.9e+03   \n",
       "propertyinfo_value                                                                                        Studio • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                            1   \n",
       "fineprint_value                                                                                                     NaN   \n",
       "fineprint_value_numbers                                                                                             NaN   \n",
       "tozcount_number                                                                                                     NaN   \n",
       "tozfresh_value                                                                                                      NaN   \n",
       "tablegrouped_values                                                                                                 NaN   \n",
       "tablegrouped_values_prices                                                                                          NaN   \n",
       "_PAGE_NUMBER                                                                                                         20   \n",
       "Baths                                                                                                                 1   \n",
       "Beds                                                                                                             Studio   \n",
       "Sqft                                                                                                                NaN   \n",
       "\n",
       "                                                                                                                  479  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/219-W-78th-St-APT-2F-New-York-NY-10024/2100775303_zpid/   \n",
       "routablemask_link/_text                                                                                      6 photos   \n",
       "routablemask_link/_title                                                                                          NaN   \n",
       "routablemask_link_numbers                                                                                           6   \n",
       "routablemask_content                                                                                              NaN   \n",
       "imagebadge_value                                                                                             6 photos   \n",
       "imagebadge_value_numbers                                                                                            6   \n",
       "routable_link               http://www.zillow.com/homedetails/219-W-78th-St-APT-2F-New-York-NY-10024/2100775303_zpid/   \n",
       "routable_link/_text                                                           219 W 78th St APT 2F, New York, NY10024   \n",
       "routable_link/_title                                                   219 W 78th St APT 2F, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                      219; 78; 2   \n",
       "listingtype_value                                                                                  Apartment For Rent   \n",
       "pricelarge_value                                                                                            $2,493/mo   \n",
       "pricelarge_value_prices                                                                                      2.49e+03   \n",
       "propertyinfo_value                                                                             1 bd • 1 ba • 500 sqft   \n",
       "propertyinfo_value_numbers                                                                                  1; 1; 500   \n",
       "fineprint_value                                                                                                   NaN   \n",
       "fineprint_value_numbers                                                                                           NaN   \n",
       "tozcount_number                                                                                                   NaN   \n",
       "tozfresh_value                                                                                                    NaN   \n",
       "tablegrouped_values                                                                                               NaN   \n",
       "tablegrouped_values_prices                                                                                        NaN   \n",
       "_PAGE_NUMBER                                                                                                       20   \n",
       "Baths                                                                                                               1   \n",
       "Beds                                                                                                                1   \n",
       "Sqft                                                                                                              500   \n",
       "\n",
       "                                                                                                                  483  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/405-W-49th-St-APT-2W-New-York-NY-10019/2100776286_zpid/   \n",
       "routablemask_link/_text                                                                                      5 photos   \n",
       "routablemask_link/_title                                                                                          NaN   \n",
       "routablemask_link_numbers                                                                                           5   \n",
       "routablemask_content                                                                                              NaN   \n",
       "imagebadge_value                                                                                             5 photos   \n",
       "imagebadge_value_numbers                                                                                            5   \n",
       "routable_link               http://www.zillow.com/homedetails/405-W-49th-St-APT-2W-New-York-NY-10019/2100776286_zpid/   \n",
       "routable_link/_text                                                           405 W 49th St APT 2W, New York, NY10019   \n",
       "routable_link/_title                                                   405 W 49th St APT 2W, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                      405; 49; 2   \n",
       "listingtype_value                                                                                  Apartment For Rent   \n",
       "pricelarge_value                                                                                            $2,925/mo   \n",
       "pricelarge_value_prices                                                                                      2.92e+03   \n",
       "propertyinfo_value                                                                                       2 bds • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                       2; 1   \n",
       "fineprint_value                                                                                                   NaN   \n",
       "fineprint_value_numbers                                                                                           NaN   \n",
       "tozcount_number                                                                                                   NaN   \n",
       "tozfresh_value                                                                                                    NaN   \n",
       "tablegrouped_values                                                                                               NaN   \n",
       "tablegrouped_values_prices                                                                                        NaN   \n",
       "_PAGE_NUMBER                                                                                                       20   \n",
       "Baths                                                                                                               1   \n",
       "Beds                                                                                                                2   \n",
       "Sqft                                                                                                              NaN   \n",
       "\n",
       "                                                                                                                  484  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/230-E-26th-St-APT-3A-New-York-NY-10010/2100776283_zpid/   \n",
       "routablemask_link/_text                                                                                      6 photos   \n",
       "routablemask_link/_title                                                                                          NaN   \n",
       "routablemask_link_numbers                                                                                           6   \n",
       "routablemask_content                                                                                              NaN   \n",
       "imagebadge_value                                                                                             6 photos   \n",
       "imagebadge_value_numbers                                                                                            6   \n",
       "routable_link               http://www.zillow.com/homedetails/230-E-26th-St-APT-3A-New-York-NY-10010/2100776283_zpid/   \n",
       "routable_link/_text                                                           230 E 26th St APT 3A, New York, NY10010   \n",
       "routable_link/_title                                                   230 E 26th St APT 3A, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                      230; 26; 3   \n",
       "listingtype_value                                                                                  Apartment For Rent   \n",
       "pricelarge_value                                                                                            $2,940/mo   \n",
       "pricelarge_value_prices                                                                                      2.94e+03   \n",
       "propertyinfo_value                                                                                       2 bds • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                       2; 1   \n",
       "fineprint_value                                                                                                   NaN   \n",
       "fineprint_value_numbers                                                                                           NaN   \n",
       "tozcount_number                                                                                                   NaN   \n",
       "tozfresh_value                                                                                                    NaN   \n",
       "tablegrouped_values                                                                                               NaN   \n",
       "tablegrouped_values_prices                                                                                        NaN   \n",
       "_PAGE_NUMBER                                                                                                       20   \n",
       "Baths                                                                                                               1   \n",
       "Beds                                                                                                                2   \n",
       "Sqft                                                                                                              NaN   \n",
       "\n",
       "                                                                                                                  485  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/319-E-53rd-St-APT-2B-New-York-NY-10022/2104750345_zpid/   \n",
       "routablemask_link/_text                                                                                      5 photos   \n",
       "routablemask_link/_title                                                                                          NaN   \n",
       "routablemask_link_numbers                                                                                           5   \n",
       "routablemask_content                                                                                              NaN   \n",
       "imagebadge_value                                                                                             5 photos   \n",
       "imagebadge_value_numbers                                                                                            5   \n",
       "routable_link               http://www.zillow.com/homedetails/319-E-53rd-St-APT-2B-New-York-NY-10022/2104750345_zpid/   \n",
       "routable_link/_text                                                           319 E 53rd St APT 2B, New York, NY10022   \n",
       "routable_link/_title                                                   319 E 53rd St APT 2B, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                      319; 53; 2   \n",
       "listingtype_value                                                                                  Apartment For Rent   \n",
       "pricelarge_value                                                                                            $2,170/mo   \n",
       "pricelarge_value_prices                                                                                      2.17e+03   \n",
       "propertyinfo_value                                                                                      Studio • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                          1   \n",
       "fineprint_value                                                                                                   NaN   \n",
       "fineprint_value_numbers                                                                                           NaN   \n",
       "tozcount_number                                                                                                   NaN   \n",
       "tozfresh_value                                                                                                    NaN   \n",
       "tablegrouped_values                                                                                               NaN   \n",
       "tablegrouped_values_prices                                                                                        NaN   \n",
       "_PAGE_NUMBER                                                                                                       20   \n",
       "Baths                                                                                                               1   \n",
       "Beds                                                                                                           Studio   \n",
       "Sqft                                                                                                              NaN   \n",
       "\n",
       "                                                                                                                 486  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/53-Irving-Pl-APT-3K-New-York-NY-10003/2103128441_zpid/   \n",
       "routablemask_link/_text                                                                                     6 photos   \n",
       "routablemask_link/_title                                                                                         NaN   \n",
       "routablemask_link_numbers                                                                                          6   \n",
       "routablemask_content                                                                                             NaN   \n",
       "imagebadge_value                                                                                            6 photos   \n",
       "imagebadge_value_numbers                                                                                           6   \n",
       "routable_link               http://www.zillow.com/homedetails/53-Irving-Pl-APT-3K-New-York-NY-10003/2103128441_zpid/   \n",
       "routable_link/_text                                                           53 Irving Pl APT 3K, New York, NY10003   \n",
       "routable_link/_title                                                   53 Irving Pl APT 3K, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                          53; 3   \n",
       "listingtype_value                                                                                 Apartment For Rent   \n",
       "pricelarge_value                                                                                           $2,300/mo   \n",
       "pricelarge_value_prices                                                                                      2.3e+03   \n",
       "propertyinfo_value                                                                          Studio • 1 ba • 400 sqft   \n",
       "propertyinfo_value_numbers                                                                                    1; 400   \n",
       "fineprint_value                                                                                                  NaN   \n",
       "fineprint_value_numbers                                                                                          NaN   \n",
       "tozcount_number                                                                                                  NaN   \n",
       "tozfresh_value                                                                                                   NaN   \n",
       "tablegrouped_values                                                                                              NaN   \n",
       "tablegrouped_values_prices                                                                                       NaN   \n",
       "_PAGE_NUMBER                                                                                                      20   \n",
       "Baths                                                                                                              1   \n",
       "Beds                                                                                                          Studio   \n",
       "Sqft                                                                                                             400   \n",
       "\n",
       "                                                                                                                 487  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/25-E-67th-St-APT-8D-New-York-NY-10065/2100777265_zpid/   \n",
       "routablemask_link/_text                                                                                          NaN   \n",
       "routablemask_link/_title                                                                                         NaN   \n",
       "routablemask_link_numbers                                                                                        NaN   \n",
       "routablemask_content                                                                                             NaN   \n",
       "imagebadge_value                                                                                                 NaN   \n",
       "imagebadge_value_numbers                                                                                         NaN   \n",
       "routable_link               http://www.zillow.com/homedetails/25-E-67th-St-APT-8D-New-York-NY-10065/2100777265_zpid/   \n",
       "routable_link/_text                                                           25 E 67th St APT 8D, New York, NY10065   \n",
       "routable_link/_title                                                   25 E 67th St APT 8D, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                      25; 67; 8   \n",
       "listingtype_value                                                                                 Apartment For Rent   \n",
       "pricelarge_value                                                                                           $2,600/mo   \n",
       "pricelarge_value_prices                                                                                      2.6e+03   \n",
       "propertyinfo_value                                                                                     Studio • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                         1   \n",
       "fineprint_value                                                                                                  NaN   \n",
       "fineprint_value_numbers                                                                                          NaN   \n",
       "tozcount_number                                                                                                  NaN   \n",
       "tozfresh_value                                                                                                   NaN   \n",
       "tablegrouped_values                                                                                              NaN   \n",
       "tablegrouped_values_prices                                                                                       NaN   \n",
       "_PAGE_NUMBER                                                                                                      20   \n",
       "Baths                                                                                                              1   \n",
       "Beds                                                                                                          Studio   \n",
       "Sqft                                                                                                             NaN   \n",
       "\n",
       "                                                                                                             490  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/303-E-73rd-St-E-New-York-NY-10021/2100777278_zpid/   \n",
       "routablemask_link/_text                                                                                 5 photos   \n",
       "routablemask_link/_title                                                                                     NaN   \n",
       "routablemask_link_numbers                                                                                      5   \n",
       "routablemask_content                                                                                         NaN   \n",
       "imagebadge_value                                                                                        5 photos   \n",
       "imagebadge_value_numbers                                                                                       5   \n",
       "routable_link               http://www.zillow.com/homedetails/303-E-73rd-St-E-New-York-NY-10021/2100777278_zpid/   \n",
       "routable_link/_text                                                         303 E 73rd St # E, New York, NY10021   \n",
       "routable_link/_title                                                 303 E 73rd St # E, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                    303; 73   \n",
       "listingtype_value                                                                             Apartment For Rent   \n",
       "pricelarge_value                                                                                       $2,265/mo   \n",
       "pricelarge_value_prices                                                                                 2.26e+03   \n",
       "propertyinfo_value                                                                                   1 bd • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                  1; 1   \n",
       "fineprint_value                                                                                              NaN   \n",
       "fineprint_value_numbers                                                                                      NaN   \n",
       "tozcount_number                                                                                              NaN   \n",
       "tozfresh_value                                                                                               NaN   \n",
       "tablegrouped_values                                                                                          NaN   \n",
       "tablegrouped_values_prices                                                                                   NaN   \n",
       "_PAGE_NUMBER                                                                                                  20   \n",
       "Baths                                                                                                          1   \n",
       "Beds                                                                                                           1   \n",
       "Sqft                                                                                                         NaN   \n",
       "\n",
       "                                                                                                                  492  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/422-E-81st-St-APT-4A-New-York-NY-10028/2111603077_zpid/   \n",
       "routablemask_link/_text                                                                                      4 photos   \n",
       "routablemask_link/_title                                                                                          NaN   \n",
       "routablemask_link_numbers                                                                                           4   \n",
       "routablemask_content                                                                                              NaN   \n",
       "imagebadge_value                                                                                             4 photos   \n",
       "imagebadge_value_numbers                                                                                            4   \n",
       "routable_link               http://www.zillow.com/homedetails/422-E-81st-St-APT-4A-New-York-NY-10028/2111603077_zpid/   \n",
       "routable_link/_text                                                           422 E 81st St APT 4A, New York, NY10028   \n",
       "routable_link/_title                                                   422 E 81st St APT 4A, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                      422; 81; 4   \n",
       "listingtype_value                                                                                  Apartment For Rent   \n",
       "pricelarge_value                                                                                            $2,150/mo   \n",
       "pricelarge_value_prices                                                                                      2.15e+03   \n",
       "propertyinfo_value                                                                                        1 bd • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                       1; 1   \n",
       "fineprint_value                                                                                                   NaN   \n",
       "fineprint_value_numbers                                                                                           NaN   \n",
       "tozcount_number                                                                                                   NaN   \n",
       "tozfresh_value                                                                                                    NaN   \n",
       "tablegrouped_values                                                                                               NaN   \n",
       "tablegrouped_values_prices                                                                                        NaN   \n",
       "_PAGE_NUMBER                                                                                                       20   \n",
       "Baths                                                                                                               1   \n",
       "Beds                                                                                                                1   \n",
       "Sqft                                                                                                              NaN   \n",
       "\n",
       "                                                                                                                  496  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/445-W-49th-St-APT-3B-New-York-NY-10019/2106388119_zpid/   \n",
       "routablemask_link/_text                                                                                      4 photos   \n",
       "routablemask_link/_title                                                                                          NaN   \n",
       "routablemask_link_numbers                                                                                           4   \n",
       "routablemask_content                                                                                              NaN   \n",
       "imagebadge_value                                                                                             4 photos   \n",
       "imagebadge_value_numbers                                                                                            4   \n",
       "routable_link               http://www.zillow.com/homedetails/445-W-49th-St-APT-3B-New-York-NY-10019/2106388119_zpid/   \n",
       "routable_link/_text                                                           445 W 49th St APT 3B, New York, NY10019   \n",
       "routable_link/_title                                                   445 W 49th St APT 3B, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                      445; 49; 3   \n",
       "listingtype_value                                                                                  Apartment For Rent   \n",
       "pricelarge_value                                                                                            $2,195/mo   \n",
       "pricelarge_value_prices                                                                                       2.2e+03   \n",
       "propertyinfo_value                                                                                      Studio • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                          1   \n",
       "fineprint_value                                                                                                   NaN   \n",
       "fineprint_value_numbers                                                                                           NaN   \n",
       "tozcount_number                                                                                                   NaN   \n",
       "tozfresh_value                                                                                                    NaN   \n",
       "tablegrouped_values                                                                                               NaN   \n",
       "tablegrouped_values_prices                                                                                        NaN   \n",
       "_PAGE_NUMBER                                                                                                       20   \n",
       "Baths                                                                                                               1   \n",
       "Beds                                                                                                           Studio   \n",
       "Sqft                                                                                                              NaN   \n",
       "\n",
       "                                                                                                                    497  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/203-E-121st-St-APT-901-New-York-NY-10035/2100777283_zpid/   \n",
       "routablemask_link/_text                                                                                        4 photos   \n",
       "routablemask_link/_title                                                                                            NaN   \n",
       "routablemask_link_numbers                                                                                             4   \n",
       "routablemask_content                                                                                                NaN   \n",
       "imagebadge_value                                                                                               4 photos   \n",
       "imagebadge_value_numbers                                                                                              4   \n",
       "routable_link               http://www.zillow.com/homedetails/203-E-121st-St-APT-901-New-York-NY-10035/2100777283_zpid/   \n",
       "routable_link/_text                                                           203 E 121st St APT 901, New York, NY10035   \n",
       "routable_link/_title                                                   203 E 121st St APT 901, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                     203; 121; 901   \n",
       "listingtype_value                                                                                    Apartment For Rent   \n",
       "pricelarge_value                                                                                              $1,795/mo   \n",
       "pricelarge_value_prices                                                                                         1.8e+03   \n",
       "propertyinfo_value                                                                             Studio • 1 ba • 550 sqft   \n",
       "propertyinfo_value_numbers                                                                                       1; 550   \n",
       "fineprint_value                                                                                                     NaN   \n",
       "fineprint_value_numbers                                                                                             NaN   \n",
       "tozcount_number                                                                                                     NaN   \n",
       "tozfresh_value                                                                                                      NaN   \n",
       "tablegrouped_values                                                                                                 NaN   \n",
       "tablegrouped_values_prices                                                                                          NaN   \n",
       "_PAGE_NUMBER                                                                                                         20   \n",
       "Baths                                                                                                                 1   \n",
       "Beds                                                                                                             Studio   \n",
       "Sqft                                                                                                                550   \n",
       "\n",
       "                                                                                                                  499  \n",
       "routablemask_link           http://www.zillow.com/homedetails/434-E-72nd-St-APT-2C-New-York-NY-10021/2120058527_zpid/  \n",
       "routablemask_link/_text                                                                                       1 photo  \n",
       "routablemask_link/_title                                                                                          NaN  \n",
       "routablemask_link_numbers                                                                                           1  \n",
       "routablemask_content                                                                                              NaN  \n",
       "imagebadge_value                                                                                              1 photo  \n",
       "imagebadge_value_numbers                                                                                            1  \n",
       "routable_link               http://www.zillow.com/homedetails/434-E-72nd-St-APT-2C-New-York-NY-10021/2120058527_zpid/  \n",
       "routable_link/_text                                                           434 E 72nd St APT 2C, New York, NY10021  \n",
       "routable_link/_title                                                   434 E 72nd St APT 2C, New York, NY Real Estate  \n",
       "routable_link_numbers                                                                                      434; 72; 2  \n",
       "listingtype_value                                                                                  Apartment For Rent  \n",
       "pricelarge_value                                                                                            $2,150/mo  \n",
       "pricelarge_value_prices                                                                                      2.15e+03  \n",
       "propertyinfo_value                                                                                        1 bd • 1 ba  \n",
       "propertyinfo_value_numbers                                                                                       1; 1  \n",
       "fineprint_value                                                                                                   NaN  \n",
       "fineprint_value_numbers                                                                                           NaN  \n",
       "tozcount_number                                                                                                   NaN  \n",
       "tozfresh_value                                                                                                    NaN  \n",
       "tablegrouped_values                                                                                               NaN  \n",
       "tablegrouped_values_prices                                                                                        NaN  \n",
       "_PAGE_NUMBER                                                                                                       20  \n",
       "Baths                                                                                                               1  \n",
       "Beds                                                                                                                1  \n",
       "Sqft                                                                                                              NaN  \n",
       "\n",
       "[26 rows x 333 columns]"
      ]
     },
     "execution_count": 136,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "sujnd = sucln.join(attr_cln)\n",
    "sujnd.T"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 137,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>2</th>\n",
       "      <th>3</th>\n",
       "      <th>4</th>\n",
       "      <th>5</th>\n",
       "      <th>7</th>\n",
       "      <th>10</th>\n",
       "      <th>11</th>\n",
       "      <th>12</th>\n",
       "      <th>13</th>\n",
       "      <th>17</th>\n",
       "      <th>18</th>\n",
       "      <th>19</th>\n",
       "      <th>20</th>\n",
       "      <th>21</th>\n",
       "      <th>23</th>\n",
       "      <th>...</th>\n",
       "      <th>470</th>\n",
       "      <th>471</th>\n",
       "      <th>475</th>\n",
       "      <th>477</th>\n",
       "      <th>479</th>\n",
       "      <th>483</th>\n",
       "      <th>484</th>\n",
       "      <th>485</th>\n",
       "      <th>486</th>\n",
       "      <th>487</th>\n",
       "      <th>490</th>\n",
       "      <th>492</th>\n",
       "      <th>496</th>\n",
       "      <th>497</th>\n",
       "      <th>499</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>routablemask_link</th>\n",
       "      <td>http://www.zillow.com/homedetails/9-E-129th-St-1-New-York-NY-10035/2100761096_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/710-Riverside-Dr-APT-2C-New-York-NY-10031/124451755_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/413-E-84th-St-APT-8-New-York-NY-10028/2100761260_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/324-Pleasant-Ave-APT-6E-New-York-NY-10035/2100761258_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/217-Thompson-St-APT-6-New-York-NY-10012/2100761371_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/340-W-47th-St-APT-4C-New-York-NY-10036/2108861613_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/1356-1st-Ave-APT-5B-New-York-NY-10021/31539199_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/101-W-77th-St-APT-3C-New-York-NY-10024/2114511658_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/111-W-74th-St-APT-2R-New-York-NY-10023/2123304010_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/646-10th-Ave-APT-4B-New-York-NY-10036/2114397534_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/76-Carmine-St-APT-4C-New-York-NY-10014/2110813540_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/146-W-120th-St-APT-8-New-York-NY-10027/2100762986_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/137-W-72nd-St-APT-4FE-New-York-NY-10023/2105480982_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/178-Avenue-B-2-New-York-NY-10009/2100763265_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/95-Wall-St-72791-New-York-NY-10005/2103168440_zpid/</td>\n",
       "      <td>...</td>\n",
       "      <td>http://www.zillow.com/homedetails/304-E-41st-St-APT-1107A-New-York-NY-10017/2100774366_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/169-Avenue-A-APT-1-New-York-NY-10009/2105208117_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/722-10th-Ave-APT-3A-New-York-NY-10019/2126268388_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/200-W-70th-St-APT-11L3-New-York-NY-10023/2100774851_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/219-W-78th-St-APT-2F-New-York-NY-10024/2100775303_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/405-W-49th-St-APT-2W-New-York-NY-10019/2100776286_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/230-E-26th-St-APT-3A-New-York-NY-10010/2100776283_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/319-E-53rd-St-APT-2B-New-York-NY-10022/2104750345_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/53-Irving-Pl-APT-3K-New-York-NY-10003/2103128441_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/25-E-67th-St-APT-8D-New-York-NY-10065/2100777265_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/303-E-73rd-St-E-New-York-NY-10021/2100777278_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/422-E-81st-St-APT-4A-New-York-NY-10028/2111603077_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/445-W-49th-St-APT-3B-New-York-NY-10019/2106388119_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/203-E-121st-St-APT-901-New-York-NY-10035/2100777283_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/434-E-72nd-St-APT-2C-New-York-NY-10021/2120058527_zpid/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>routablemask_link/_text</th>\n",
       "      <td>NaN</td>\n",
       "      <td>9 photos</td>\n",
       "      <td>5 photos</td>\n",
       "      <td>7 photos</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>9 photos</td>\n",
       "      <td>4 photos</td>\n",
       "      <td>6 photos</td>\n",
       "      <td>NaN</td>\n",
       "      <td>4 photos</td>\n",
       "      <td>6 photos</td>\n",
       "      <td>10 photos</td>\n",
       "      <td>6 photos</td>\n",
       "      <td>17 photos</td>\n",
       "      <td>...</td>\n",
       "      <td>5 photos</td>\n",
       "      <td>8 photos</td>\n",
       "      <td>5 photos</td>\n",
       "      <td>4 photos</td>\n",
       "      <td>6 photos</td>\n",
       "      <td>5 photos</td>\n",
       "      <td>6 photos</td>\n",
       "      <td>5 photos</td>\n",
       "      <td>6 photos</td>\n",
       "      <td>NaN</td>\n",
       "      <td>5 photos</td>\n",
       "      <td>4 photos</td>\n",
       "      <td>4 photos</td>\n",
       "      <td>4 photos</td>\n",
       "      <td>1 photo</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>routablemask_link/_title</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>routablemask_link_numbers</th>\n",
       "      <td>NaN</td>\n",
       "      <td>9</td>\n",
       "      <td>5</td>\n",
       "      <td>7</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>9</td>\n",
       "      <td>4</td>\n",
       "      <td>6</td>\n",
       "      <td>NaN</td>\n",
       "      <td>4</td>\n",
       "      <td>6</td>\n",
       "      <td>10</td>\n",
       "      <td>6</td>\n",
       "      <td>17</td>\n",
       "      <td>...</td>\n",
       "      <td>5</td>\n",
       "      <td>8</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "      <td>6</td>\n",
       "      <td>5</td>\n",
       "      <td>6</td>\n",
       "      <td>5</td>\n",
       "      <td>6</td>\n",
       "      <td>NaN</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>routablemask_content</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>imagebadge_value</th>\n",
       "      <td>NaN</td>\n",
       "      <td>9 photos</td>\n",
       "      <td>5 photos</td>\n",
       "      <td>7 photos</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>9 photos</td>\n",
       "      <td>4 photos</td>\n",
       "      <td>6 photos</td>\n",
       "      <td>NaN</td>\n",
       "      <td>4 photos</td>\n",
       "      <td>6 photos</td>\n",
       "      <td>10 photos</td>\n",
       "      <td>6 photos</td>\n",
       "      <td>17 photos</td>\n",
       "      <td>...</td>\n",
       "      <td>5 photos</td>\n",
       "      <td>8 photos</td>\n",
       "      <td>5 photos</td>\n",
       "      <td>4 photos</td>\n",
       "      <td>6 photos</td>\n",
       "      <td>5 photos</td>\n",
       "      <td>6 photos</td>\n",
       "      <td>5 photos</td>\n",
       "      <td>6 photos</td>\n",
       "      <td>NaN</td>\n",
       "      <td>5 photos</td>\n",
       "      <td>4 photos</td>\n",
       "      <td>4 photos</td>\n",
       "      <td>4 photos</td>\n",
       "      <td>1 photo</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>imagebadge_value_numbers</th>\n",
       "      <td>NaN</td>\n",
       "      <td>9</td>\n",
       "      <td>5</td>\n",
       "      <td>7</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>9</td>\n",
       "      <td>4</td>\n",
       "      <td>6</td>\n",
       "      <td>NaN</td>\n",
       "      <td>4</td>\n",
       "      <td>6</td>\n",
       "      <td>10</td>\n",
       "      <td>6</td>\n",
       "      <td>17</td>\n",
       "      <td>...</td>\n",
       "      <td>5</td>\n",
       "      <td>8</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "      <td>6</td>\n",
       "      <td>5</td>\n",
       "      <td>6</td>\n",
       "      <td>5</td>\n",
       "      <td>6</td>\n",
       "      <td>NaN</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>routable_link</th>\n",
       "      <td>http://www.zillow.com/homedetails/9-E-129th-St-1-New-York-NY-10035/2100761096_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/710-Riverside-Dr-APT-2C-New-York-NY-10031/124451755_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/413-E-84th-St-APT-8-New-York-NY-10028/2100761260_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/324-Pleasant-Ave-APT-6E-New-York-NY-10035/2100761258_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/217-Thompson-St-APT-6-New-York-NY-10012/2100761371_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/340-W-47th-St-APT-4C-New-York-NY-10036/2108861613_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/1356-1st-Ave-APT-5B-New-York-NY-10021/31539199_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/101-W-77th-St-APT-3C-New-York-NY-10024/2114511658_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/111-W-74th-St-APT-2R-New-York-NY-10023/2123304010_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/646-10th-Ave-APT-4B-New-York-NY-10036/2114397534_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/76-Carmine-St-APT-4C-New-York-NY-10014/2110813540_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/146-W-120th-St-APT-8-New-York-NY-10027/2100762986_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/137-W-72nd-St-APT-4FE-New-York-NY-10023/2105480982_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/178-Avenue-B-2-New-York-NY-10009/2100763265_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/95-Wall-St-72791-New-York-NY-10005/2103168440_zpid/</td>\n",
       "      <td>...</td>\n",
       "      <td>http://www.zillow.com/homedetails/304-E-41st-St-APT-1107A-New-York-NY-10017/2100774366_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/169-Avenue-A-APT-1-New-York-NY-10009/2105208117_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/722-10th-Ave-APT-3A-New-York-NY-10019/2126268388_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/200-W-70th-St-APT-11L3-New-York-NY-10023/2100774851_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/219-W-78th-St-APT-2F-New-York-NY-10024/2100775303_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/405-W-49th-St-APT-2W-New-York-NY-10019/2100776286_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/230-E-26th-St-APT-3A-New-York-NY-10010/2100776283_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/319-E-53rd-St-APT-2B-New-York-NY-10022/2104750345_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/53-Irving-Pl-APT-3K-New-York-NY-10003/2103128441_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/25-E-67th-St-APT-8D-New-York-NY-10065/2100777265_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/303-E-73rd-St-E-New-York-NY-10021/2100777278_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/422-E-81st-St-APT-4A-New-York-NY-10028/2111603077_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/445-W-49th-St-APT-3B-New-York-NY-10019/2106388119_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/203-E-121st-St-APT-901-New-York-NY-10035/2100777283_zpid/</td>\n",
       "      <td>http://www.zillow.com/homedetails/434-E-72nd-St-APT-2C-New-York-NY-10021/2120058527_zpid/</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>routable_link/_text</th>\n",
       "      <td>9 E 129th St # 1, New York, NY10035</td>\n",
       "      <td>710 Riverside Dr APT 2C, New York, NY10031</td>\n",
       "      <td>413 E 84th St APT 8, New York, NY10028</td>\n",
       "      <td>324 Pleasant Ave APT 6E, New York, NY10035</td>\n",
       "      <td>217 Thompson St APT 6, New York, NY10012</td>\n",
       "      <td>340 W 47th St APT 4C, New York, NY10036</td>\n",
       "      <td>1356 1st Ave APT 5B, New York, NY10021</td>\n",
       "      <td>101 W 77th St APT 3C, New York, NY10024</td>\n",
       "      <td>111 W 74th St APT 2R, New York, NY10023</td>\n",
       "      <td>646 10th Ave APT 4B, New York, NY10036</td>\n",
       "      <td>76 Carmine St APT 4C, New York, NY10014</td>\n",
       "      <td>146 W 120th St APT 8, New York, NY10027</td>\n",
       "      <td>137 W 72nd St APT 4FE, New York, NY10023</td>\n",
       "      <td>178 Avenue B # 2, New York, NY10009</td>\n",
       "      <td>95 Wall St, New York, NY</td>\n",
       "      <td>...</td>\n",
       "      <td>304 E 41st St APT 1107A, New York, NY10017</td>\n",
       "      <td>169 Avenue A APT 1, New York, NY10009</td>\n",
       "      <td>722 10th Ave APT 3A, New York, NY10019</td>\n",
       "      <td>200 W 70th St APT 11L3, New York, NY10023</td>\n",
       "      <td>219 W 78th St APT 2F, New York, NY10024</td>\n",
       "      <td>405 W 49th St APT 2W, New York, NY10019</td>\n",
       "      <td>230 E 26th St APT 3A, New York, NY10010</td>\n",
       "      <td>319 E 53rd St APT 2B, New York, NY10022</td>\n",
       "      <td>53 Irving Pl APT 3K, New York, NY10003</td>\n",
       "      <td>25 E 67th St APT 8D, New York, NY10065</td>\n",
       "      <td>303 E 73rd St # E, New York, NY10021</td>\n",
       "      <td>422 E 81st St APT 4A, New York, NY10028</td>\n",
       "      <td>445 W 49th St APT 3B, New York, NY10019</td>\n",
       "      <td>203 E 121st St APT 901, New York, NY10035</td>\n",
       "      <td>434 E 72nd St APT 2C, New York, NY10021</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>routable_link/_title</th>\n",
       "      <td>9 E 129th St # 1, New York, NY Real Estate</td>\n",
       "      <td>710 Riverside Dr APT 2C, New York, NY Real Estate</td>\n",
       "      <td>413 E 84th St APT 8, New York, NY Real Estate</td>\n",
       "      <td>324 Pleasant Ave APT 6E, New York, NY Real Estate</td>\n",
       "      <td>217 Thompson St APT 6, New York, NY Real Estate</td>\n",
       "      <td>340 W 47th St APT 4C, New York, NY Real Estate</td>\n",
       "      <td>1356 1st Ave APT 5B, New York, NY Real Estate</td>\n",
       "      <td>101 W 77th St APT 3C, New York, NY Real Estate</td>\n",
       "      <td>111 W 74th St APT 2R, New York, NY Real Estate</td>\n",
       "      <td>646 10th Ave APT 4B, New York, NY Real Estate</td>\n",
       "      <td>76 Carmine St APT 4C, New York, NY Real Estate</td>\n",
       "      <td>146 W 120th St APT 8, New York, NY Real Estate</td>\n",
       "      <td>137 W 72nd St APT 4FE, New York, NY Real Estate</td>\n",
       "      <td>178 Avenue B # 2, New York, NY Real Estate</td>\n",
       "      <td>95 Wall, Studio E1O Real Estate</td>\n",
       "      <td>...</td>\n",
       "      <td>304 E 41st St APT 1107A, New York, NY Real Estate</td>\n",
       "      <td>169 Avenue A APT 1, New York, NY Real Estate</td>\n",
       "      <td>722 10th Ave APT 3A, New York, NY Real Estate</td>\n",
       "      <td>200 W 70th St APT 11L3, New York, NY Real Estate</td>\n",
       "      <td>219 W 78th St APT 2F, New York, NY Real Estate</td>\n",
       "      <td>405 W 49th St APT 2W, New York, NY Real Estate</td>\n",
       "      <td>230 E 26th St APT 3A, New York, NY Real Estate</td>\n",
       "      <td>319 E 53rd St APT 2B, New York, NY Real Estate</td>\n",
       "      <td>53 Irving Pl APT 3K, New York, NY Real Estate</td>\n",
       "      <td>25 E 67th St APT 8D, New York, NY Real Estate</td>\n",
       "      <td>303 E 73rd St # E, New York, NY Real Estate</td>\n",
       "      <td>422 E 81st St APT 4A, New York, NY Real Estate</td>\n",
       "      <td>445 W 49th St APT 3B, New York, NY Real Estate</td>\n",
       "      <td>203 E 121st St APT 901, New York, NY Real Estate</td>\n",
       "      <td>434 E 72nd St APT 2C, New York, NY Real Estate</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>routable_link_numbers</th>\n",
       "      <td>9; 129; 1</td>\n",
       "      <td>710; 2</td>\n",
       "      <td>413; 84; 8</td>\n",
       "      <td>324; 6</td>\n",
       "      <td>217; 6</td>\n",
       "      <td>340; 47; 4</td>\n",
       "      <td>1356; 1; 5</td>\n",
       "      <td>101; 77; 3</td>\n",
       "      <td>111; 74; 2</td>\n",
       "      <td>646; 10; 4</td>\n",
       "      <td>76; 4</td>\n",
       "      <td>146; 120; 8</td>\n",
       "      <td>137; 72; 4</td>\n",
       "      <td>178; 2</td>\n",
       "      <td>95</td>\n",
       "      <td>...</td>\n",
       "      <td>304; 41; 1107</td>\n",
       "      <td>169; 1</td>\n",
       "      <td>722; 10; 3</td>\n",
       "      <td>200; 70; 11</td>\n",
       "      <td>219; 78; 2</td>\n",
       "      <td>405; 49; 2</td>\n",
       "      <td>230; 26; 3</td>\n",
       "      <td>319; 53; 2</td>\n",
       "      <td>53; 3</td>\n",
       "      <td>25; 67; 8</td>\n",
       "      <td>303; 73</td>\n",
       "      <td>422; 81; 4</td>\n",
       "      <td>445; 49; 3</td>\n",
       "      <td>203; 121; 901</td>\n",
       "      <td>434; 72; 2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>listingtype_value</th>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>...</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "      <td>Apartment For Rent</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>pricelarge_value</th>\n",
       "      <td>$1,750/mo</td>\n",
       "      <td>$3,000/mo</td>\n",
       "      <td>$2,300/mo</td>\n",
       "      <td>$2,500/mo</td>\n",
       "      <td>$2,800/mo</td>\n",
       "      <td>$2,490/mo</td>\n",
       "      <td>$2,750/mo</td>\n",
       "      <td>$2,150/mo</td>\n",
       "      <td>$2,875/mo</td>\n",
       "      <td>$2,225/mo</td>\n",
       "      <td>$2,450/mo</td>\n",
       "      <td>$1,800/mo</td>\n",
       "      <td>$2,850/mo</td>\n",
       "      <td>$2,700/mo</td>\n",
       "      <td>$3,000+/mo</td>\n",
       "      <td>...</td>\n",
       "      <td>$2,200/mo</td>\n",
       "      <td>$2,195/mo</td>\n",
       "      <td>$2,995/mo</td>\n",
       "      <td>$1,895/mo</td>\n",
       "      <td>$2,493/mo</td>\n",
       "      <td>$2,925/mo</td>\n",
       "      <td>$2,940/mo</td>\n",
       "      <td>$2,170/mo</td>\n",
       "      <td>$2,300/mo</td>\n",
       "      <td>$2,600/mo</td>\n",
       "      <td>$2,265/mo</td>\n",
       "      <td>$2,150/mo</td>\n",
       "      <td>$2,195/mo</td>\n",
       "      <td>$1,795/mo</td>\n",
       "      <td>$2,150/mo</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>pricelarge_value_prices</th>\n",
       "      <td>1.75e+03</td>\n",
       "      <td>3e+03</td>\n",
       "      <td>2.3e+03</td>\n",
       "      <td>2.5e+03</td>\n",
       "      <td>2.8e+03</td>\n",
       "      <td>2.49e+03</td>\n",
       "      <td>2.75e+03</td>\n",
       "      <td>2.15e+03</td>\n",
       "      <td>2.88e+03</td>\n",
       "      <td>2.22e+03</td>\n",
       "      <td>2.45e+03</td>\n",
       "      <td>1.8e+03</td>\n",
       "      <td>2.85e+03</td>\n",
       "      <td>2.7e+03</td>\n",
       "      <td>3e+03</td>\n",
       "      <td>...</td>\n",
       "      <td>2.2e+03</td>\n",
       "      <td>2.2e+03</td>\n",
       "      <td>3e+03</td>\n",
       "      <td>1.9e+03</td>\n",
       "      <td>2.49e+03</td>\n",
       "      <td>2.92e+03</td>\n",
       "      <td>2.94e+03</td>\n",
       "      <td>2.17e+03</td>\n",
       "      <td>2.3e+03</td>\n",
       "      <td>2.6e+03</td>\n",
       "      <td>2.26e+03</td>\n",
       "      <td>2.15e+03</td>\n",
       "      <td>2.2e+03</td>\n",
       "      <td>1.8e+03</td>\n",
       "      <td>2.15e+03</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>propertyinfo_value</th>\n",
       "      <td>1 bd • 1 ba</td>\n",
       "      <td>2 bds • 2 ba • 1,016 sqft</td>\n",
       "      <td>Studio • 1 ba</td>\n",
       "      <td>2 bds • 1 ba</td>\n",
       "      <td>2 bds • 1 ba</td>\n",
       "      <td>1 bd • 1 ba</td>\n",
       "      <td>1 bd • 1 ba • 496 sqft • 4,502 sqft lot • Built 1900</td>\n",
       "      <td>Studio • 1 ba</td>\n",
       "      <td>1 bd • 1 ba</td>\n",
       "      <td>1 bd • 1 ba</td>\n",
       "      <td>Studio • 1 ba</td>\n",
       "      <td>1 bd • 1 ba</td>\n",
       "      <td>1 bd • 1 ba • 700 sqft</td>\n",
       "      <td>1 bd • 1 ba</td>\n",
       "      <td>Studio • 1 ba • 487 sqft</td>\n",
       "      <td>...</td>\n",
       "      <td>Studio • 1 ba</td>\n",
       "      <td>Studio • 1 ba</td>\n",
       "      <td>1 bd • 1 ba • 475 sqft • Built 1900</td>\n",
       "      <td>Studio • 1 ba</td>\n",
       "      <td>1 bd • 1 ba • 500 sqft</td>\n",
       "      <td>2 bds • 1 ba</td>\n",
       "      <td>2 bds • 1 ba</td>\n",
       "      <td>Studio • 1 ba</td>\n",
       "      <td>Studio • 1 ba • 400 sqft</td>\n",
       "      <td>Studio • 1 ba</td>\n",
       "      <td>1 bd • 1 ba</td>\n",
       "      <td>1 bd • 1 ba</td>\n",
       "      <td>Studio • 1 ba</td>\n",
       "      <td>Studio • 1 ba • 550 sqft</td>\n",
       "      <td>1 bd • 1 ba</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>propertyinfo_value_numbers</th>\n",
       "      <td>1; 1</td>\n",
       "      <td>2; 2; 1016</td>\n",
       "      <td>1</td>\n",
       "      <td>2; 1</td>\n",
       "      <td>2; 1</td>\n",
       "      <td>1; 1</td>\n",
       "      <td>1; 1; 496; 4502; 1900</td>\n",
       "      <td>1</td>\n",
       "      <td>1; 1</td>\n",
       "      <td>1; 1</td>\n",
       "      <td>1</td>\n",
       "      <td>1; 1</td>\n",
       "      <td>1; 1; 700</td>\n",
       "      <td>1; 1</td>\n",
       "      <td>1; 487</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1; 1; 475; 1900</td>\n",
       "      <td>1</td>\n",
       "      <td>1; 1; 500</td>\n",
       "      <td>2; 1</td>\n",
       "      <td>2; 1</td>\n",
       "      <td>1</td>\n",
       "      <td>1; 400</td>\n",
       "      <td>1</td>\n",
       "      <td>1; 1</td>\n",
       "      <td>1; 1</td>\n",
       "      <td>1</td>\n",
       "      <td>1; 550</td>\n",
       "      <td>1; 1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>fineprint_value</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>fineprint_value_numbers</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>tozcount_number</th>\n",
       "      <td>48</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>6</td>\n",
       "      <td>6</td>\n",
       "      <td>6</td>\n",
       "      <td>6</td>\n",
       "      <td>6</td>\n",
       "      <td>7</td>\n",
       "      <td>9</td>\n",
       "      <td>9</td>\n",
       "      <td>10</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>tozfresh_value</th>\n",
       "      <td>minutes ago</td>\n",
       "      <td>hour ago</td>\n",
       "      <td>hours ago</td>\n",
       "      <td>hours ago</td>\n",
       "      <td>hours ago</td>\n",
       "      <td>hours ago</td>\n",
       "      <td>hours ago</td>\n",
       "      <td>hours ago</td>\n",
       "      <td>hours ago</td>\n",
       "      <td>hours ago</td>\n",
       "      <td>hours ago</td>\n",
       "      <td>hours ago</td>\n",
       "      <td>hours ago</td>\n",
       "      <td>hours ago</td>\n",
       "      <td>Updated today</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>tablegrouped_values</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>tablegrouped_values_prices</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>_PAGE_NUMBER</th>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>19</td>\n",
       "      <td>19</td>\n",
       "      <td>20</td>\n",
       "      <td>20</td>\n",
       "      <td>20</td>\n",
       "      <td>20</td>\n",
       "      <td>20</td>\n",
       "      <td>20</td>\n",
       "      <td>20</td>\n",
       "      <td>20</td>\n",
       "      <td>20</td>\n",
       "      <td>20</td>\n",
       "      <td>20</td>\n",
       "      <td>20</td>\n",
       "      <td>20</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Baths</th>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Beds</th>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>Studio</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>...</td>\n",
       "      <td>Studio</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>Studio</td>\n",
       "      <td>Studio</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>Studio</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Sqft</th>\n",
       "      <td>NaN</td>\n",
       "      <td>1,016</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>496</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>700</td>\n",
       "      <td>NaN</td>\n",
       "      <td>487</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>475</td>\n",
       "      <td>NaN</td>\n",
       "      <td>500</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>400</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>550</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Floor</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip</th>\n",
       "      <td>10035</td>\n",
       "      <td>10031</td>\n",
       "      <td>10028</td>\n",
       "      <td>10035</td>\n",
       "      <td>10012</td>\n",
       "      <td>10036</td>\n",
       "      <td>10021</td>\n",
       "      <td>10024</td>\n",
       "      <td>10023</td>\n",
       "      <td>10036</td>\n",
       "      <td>10014</td>\n",
       "      <td>10027</td>\n",
       "      <td>10023</td>\n",
       "      <td>10009</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>10017</td>\n",
       "      <td>10009</td>\n",
       "      <td>10019</td>\n",
       "      <td>10023</td>\n",
       "      <td>10024</td>\n",
       "      <td>10019</td>\n",
       "      <td>10010</td>\n",
       "      <td>10022</td>\n",
       "      <td>10003</td>\n",
       "      <td>10065</td>\n",
       "      <td>10021</td>\n",
       "      <td>10028</td>\n",
       "      <td>10019</td>\n",
       "      <td>10035</td>\n",
       "      <td>10021</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>28 rows × 333 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                                                                            2    \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/9-E-129th-St-1-New-York-NY-10035/2100761096_zpid/   \n",
       "routablemask_link/_text                                                                                     NaN   \n",
       "routablemask_link/_title                                                                                    NaN   \n",
       "routablemask_link_numbers                                                                                   NaN   \n",
       "routablemask_content                                                                                        NaN   \n",
       "imagebadge_value                                                                                            NaN   \n",
       "imagebadge_value_numbers                                                                                    NaN   \n",
       "routable_link               http://www.zillow.com/homedetails/9-E-129th-St-1-New-York-NY-10035/2100761096_zpid/   \n",
       "routable_link/_text                                                         9 E 129th St # 1, New York, NY10035   \n",
       "routable_link/_title                                                 9 E 129th St # 1, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                 9; 129; 1   \n",
       "listingtype_value                                                                            Apartment For Rent   \n",
       "pricelarge_value                                                                                      $1,750/mo   \n",
       "pricelarge_value_prices                                                                                1.75e+03   \n",
       "propertyinfo_value                                                                                  1 bd • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                 1; 1   \n",
       "fineprint_value                                                                                             NaN   \n",
       "fineprint_value_numbers                                                                                     NaN   \n",
       "tozcount_number                                                                                              48   \n",
       "tozfresh_value                                                                                      minutes ago   \n",
       "tablegrouped_values                                                                                         NaN   \n",
       "tablegrouped_values_prices                                                                                  NaN   \n",
       "_PAGE_NUMBER                                                                                                  1   \n",
       "Baths                                                                                                         1   \n",
       "Beds                                                                                                          1   \n",
       "Sqft                                                                                                        NaN   \n",
       "Floor                                                                                                       NaN   \n",
       "Zip                                                                                                       10035   \n",
       "\n",
       "                                                                                                                    3    \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/710-Riverside-Dr-APT-2C-New-York-NY-10031/124451755_zpid/   \n",
       "routablemask_link/_text                                                                                        9 photos   \n",
       "routablemask_link/_title                                                                                            NaN   \n",
       "routablemask_link_numbers                                                                                             9   \n",
       "routablemask_content                                                                                                NaN   \n",
       "imagebadge_value                                                                                               9 photos   \n",
       "imagebadge_value_numbers                                                                                              9   \n",
       "routable_link               http://www.zillow.com/homedetails/710-Riverside-Dr-APT-2C-New-York-NY-10031/124451755_zpid/   \n",
       "routable_link/_text                                                          710 Riverside Dr APT 2C, New York, NY10031   \n",
       "routable_link/_title                                                  710 Riverside Dr APT 2C, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                            710; 2   \n",
       "listingtype_value                                                                                    Apartment For Rent   \n",
       "pricelarge_value                                                                                              $3,000/mo   \n",
       "pricelarge_value_prices                                                                                           3e+03   \n",
       "propertyinfo_value                                                                            2 bds • 2 ba • 1,016 sqft   \n",
       "propertyinfo_value_numbers                                                                                   2; 2; 1016   \n",
       "fineprint_value                                                                                                     NaN   \n",
       "fineprint_value_numbers                                                                                             NaN   \n",
       "tozcount_number                                                                                                       1   \n",
       "tozfresh_value                                                                                                 hour ago   \n",
       "tablegrouped_values                                                                                                 NaN   \n",
       "tablegrouped_values_prices                                                                                          NaN   \n",
       "_PAGE_NUMBER                                                                                                          1   \n",
       "Baths                                                                                                                 2   \n",
       "Beds                                                                                                                  2   \n",
       "Sqft                                                                                                              1,016   \n",
       "Floor                                                                                                               NaN   \n",
       "Zip                                                                                                               10031   \n",
       "\n",
       "                                                                                                                 4    \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/413-E-84th-St-APT-8-New-York-NY-10028/2100761260_zpid/   \n",
       "routablemask_link/_text                                                                                     5 photos   \n",
       "routablemask_link/_title                                                                                         NaN   \n",
       "routablemask_link_numbers                                                                                          5   \n",
       "routablemask_content                                                                                             NaN   \n",
       "imagebadge_value                                                                                            5 photos   \n",
       "imagebadge_value_numbers                                                                                           5   \n",
       "routable_link               http://www.zillow.com/homedetails/413-E-84th-St-APT-8-New-York-NY-10028/2100761260_zpid/   \n",
       "routable_link/_text                                                           413 E 84th St APT 8, New York, NY10028   \n",
       "routable_link/_title                                                   413 E 84th St APT 8, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                     413; 84; 8   \n",
       "listingtype_value                                                                                 Apartment For Rent   \n",
       "pricelarge_value                                                                                           $2,300/mo   \n",
       "pricelarge_value_prices                                                                                      2.3e+03   \n",
       "propertyinfo_value                                                                                     Studio • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                         1   \n",
       "fineprint_value                                                                                                  NaN   \n",
       "fineprint_value_numbers                                                                                          NaN   \n",
       "tozcount_number                                                                                                    2   \n",
       "tozfresh_value                                                                                             hours ago   \n",
       "tablegrouped_values                                                                                              NaN   \n",
       "tablegrouped_values_prices                                                                                       NaN   \n",
       "_PAGE_NUMBER                                                                                                       1   \n",
       "Baths                                                                                                              1   \n",
       "Beds                                                                                                          Studio   \n",
       "Sqft                                                                                                             NaN   \n",
       "Floor                                                                                                            NaN   \n",
       "Zip                                                                                                            10028   \n",
       "\n",
       "                                                                                                                     5    \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/324-Pleasant-Ave-APT-6E-New-York-NY-10035/2100761258_zpid/   \n",
       "routablemask_link/_text                                                                                         7 photos   \n",
       "routablemask_link/_title                                                                                             NaN   \n",
       "routablemask_link_numbers                                                                                              7   \n",
       "routablemask_content                                                                                                 NaN   \n",
       "imagebadge_value                                                                                                7 photos   \n",
       "imagebadge_value_numbers                                                                                               7   \n",
       "routable_link               http://www.zillow.com/homedetails/324-Pleasant-Ave-APT-6E-New-York-NY-10035/2100761258_zpid/   \n",
       "routable_link/_text                                                           324 Pleasant Ave APT 6E, New York, NY10035   \n",
       "routable_link/_title                                                   324 Pleasant Ave APT 6E, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                             324; 6   \n",
       "listingtype_value                                                                                     Apartment For Rent   \n",
       "pricelarge_value                                                                                               $2,500/mo   \n",
       "pricelarge_value_prices                                                                                          2.5e+03   \n",
       "propertyinfo_value                                                                                          2 bds • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                          2; 1   \n",
       "fineprint_value                                                                                                      NaN   \n",
       "fineprint_value_numbers                                                                                              NaN   \n",
       "tozcount_number                                                                                                        2   \n",
       "tozfresh_value                                                                                                 hours ago   \n",
       "tablegrouped_values                                                                                                  NaN   \n",
       "tablegrouped_values_prices                                                                                           NaN   \n",
       "_PAGE_NUMBER                                                                                                           1   \n",
       "Baths                                                                                                                  1   \n",
       "Beds                                                                                                                   2   \n",
       "Sqft                                                                                                                 NaN   \n",
       "Floor                                                                                                                NaN   \n",
       "Zip                                                                                                                10035   \n",
       "\n",
       "                                                                                                                   7    \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/217-Thompson-St-APT-6-New-York-NY-10012/2100761371_zpid/   \n",
       "routablemask_link/_text                                                                                            NaN   \n",
       "routablemask_link/_title                                                                                           NaN   \n",
       "routablemask_link_numbers                                                                                          NaN   \n",
       "routablemask_content                                                                                               NaN   \n",
       "imagebadge_value                                                                                                   NaN   \n",
       "imagebadge_value_numbers                                                                                           NaN   \n",
       "routable_link               http://www.zillow.com/homedetails/217-Thompson-St-APT-6-New-York-NY-10012/2100761371_zpid/   \n",
       "routable_link/_text                                                           217 Thompson St APT 6, New York, NY10012   \n",
       "routable_link/_title                                                   217 Thompson St APT 6, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                           217; 6   \n",
       "listingtype_value                                                                                   Apartment For Rent   \n",
       "pricelarge_value                                                                                             $2,800/mo   \n",
       "pricelarge_value_prices                                                                                        2.8e+03   \n",
       "propertyinfo_value                                                                                        2 bds • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                        2; 1   \n",
       "fineprint_value                                                                                                    NaN   \n",
       "fineprint_value_numbers                                                                                            NaN   \n",
       "tozcount_number                                                                                                      3   \n",
       "tozfresh_value                                                                                               hours ago   \n",
       "tablegrouped_values                                                                                                NaN   \n",
       "tablegrouped_values_prices                                                                                         NaN   \n",
       "_PAGE_NUMBER                                                                                                         1   \n",
       "Baths                                                                                                                1   \n",
       "Beds                                                                                                                 2   \n",
       "Sqft                                                                                                               NaN   \n",
       "Floor                                                                                                              NaN   \n",
       "Zip                                                                                                              10012   \n",
       "\n",
       "                                                                                                                  10   \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/340-W-47th-St-APT-4C-New-York-NY-10036/2108861613_zpid/   \n",
       "routablemask_link/_text                                                                                           NaN   \n",
       "routablemask_link/_title                                                                                          NaN   \n",
       "routablemask_link_numbers                                                                                         NaN   \n",
       "routablemask_content                                                                                              NaN   \n",
       "imagebadge_value                                                                                                  NaN   \n",
       "imagebadge_value_numbers                                                                                          NaN   \n",
       "routable_link               http://www.zillow.com/homedetails/340-W-47th-St-APT-4C-New-York-NY-10036/2108861613_zpid/   \n",
       "routable_link/_text                                                           340 W 47th St APT 4C, New York, NY10036   \n",
       "routable_link/_title                                                   340 W 47th St APT 4C, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                      340; 47; 4   \n",
       "listingtype_value                                                                                  Apartment For Rent   \n",
       "pricelarge_value                                                                                            $2,490/mo   \n",
       "pricelarge_value_prices                                                                                      2.49e+03   \n",
       "propertyinfo_value                                                                                        1 bd • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                       1; 1   \n",
       "fineprint_value                                                                                                   NaN   \n",
       "fineprint_value_numbers                                                                                           NaN   \n",
       "tozcount_number                                                                                                     6   \n",
       "tozfresh_value                                                                                              hours ago   \n",
       "tablegrouped_values                                                                                               NaN   \n",
       "tablegrouped_values_prices                                                                                        NaN   \n",
       "_PAGE_NUMBER                                                                                                        1   \n",
       "Baths                                                                                                               1   \n",
       "Beds                                                                                                                1   \n",
       "Sqft                                                                                                              NaN   \n",
       "Floor                                                                                                             NaN   \n",
       "Zip                                                                                                             10036   \n",
       "\n",
       "                                                                                                               11   \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/1356-1st-Ave-APT-5B-New-York-NY-10021/31539199_zpid/   \n",
       "routablemask_link/_text                                                                                   9 photos   \n",
       "routablemask_link/_title                                                                                       NaN   \n",
       "routablemask_link_numbers                                                                                        9   \n",
       "routablemask_content                                                                                           NaN   \n",
       "imagebadge_value                                                                                          9 photos   \n",
       "imagebadge_value_numbers                                                                                         9   \n",
       "routable_link               http://www.zillow.com/homedetails/1356-1st-Ave-APT-5B-New-York-NY-10021/31539199_zpid/   \n",
       "routable_link/_text                                                         1356 1st Ave APT 5B, New York, NY10021   \n",
       "routable_link/_title                                                 1356 1st Ave APT 5B, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                   1356; 1; 5   \n",
       "listingtype_value                                                                               Apartment For Rent   \n",
       "pricelarge_value                                                                                         $2,750/mo   \n",
       "pricelarge_value_prices                                                                                   2.75e+03   \n",
       "propertyinfo_value                                            1 bd • 1 ba • 496 sqft • 4,502 sqft lot • Built 1900   \n",
       "propertyinfo_value_numbers                                                                   1; 1; 496; 4502; 1900   \n",
       "fineprint_value                                                                                                NaN   \n",
       "fineprint_value_numbers                                                                                        NaN   \n",
       "tozcount_number                                                                                                  6   \n",
       "tozfresh_value                                                                                           hours ago   \n",
       "tablegrouped_values                                                                                            NaN   \n",
       "tablegrouped_values_prices                                                                                     NaN   \n",
       "_PAGE_NUMBER                                                                                                     1   \n",
       "Baths                                                                                                            1   \n",
       "Beds                                                                                                             1   \n",
       "Sqft                                                                                                           496   \n",
       "Floor                                                                                                          NaN   \n",
       "Zip                                                                                                          10021   \n",
       "\n",
       "                                                                                                                  12   \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/101-W-77th-St-APT-3C-New-York-NY-10024/2114511658_zpid/   \n",
       "routablemask_link/_text                                                                                      4 photos   \n",
       "routablemask_link/_title                                                                                          NaN   \n",
       "routablemask_link_numbers                                                                                           4   \n",
       "routablemask_content                                                                                              NaN   \n",
       "imagebadge_value                                                                                             4 photos   \n",
       "imagebadge_value_numbers                                                                                            4   \n",
       "routable_link               http://www.zillow.com/homedetails/101-W-77th-St-APT-3C-New-York-NY-10024/2114511658_zpid/   \n",
       "routable_link/_text                                                           101 W 77th St APT 3C, New York, NY10024   \n",
       "routable_link/_title                                                   101 W 77th St APT 3C, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                      101; 77; 3   \n",
       "listingtype_value                                                                                  Apartment For Rent   \n",
       "pricelarge_value                                                                                            $2,150/mo   \n",
       "pricelarge_value_prices                                                                                      2.15e+03   \n",
       "propertyinfo_value                                                                                      Studio • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                          1   \n",
       "fineprint_value                                                                                                   NaN   \n",
       "fineprint_value_numbers                                                                                           NaN   \n",
       "tozcount_number                                                                                                     6   \n",
       "tozfresh_value                                                                                              hours ago   \n",
       "tablegrouped_values                                                                                               NaN   \n",
       "tablegrouped_values_prices                                                                                        NaN   \n",
       "_PAGE_NUMBER                                                                                                        1   \n",
       "Baths                                                                                                               1   \n",
       "Beds                                                                                                           Studio   \n",
       "Sqft                                                                                                              NaN   \n",
       "Floor                                                                                                             NaN   \n",
       "Zip                                                                                                             10024   \n",
       "\n",
       "                                                                                                                  13   \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/111-W-74th-St-APT-2R-New-York-NY-10023/2123304010_zpid/   \n",
       "routablemask_link/_text                                                                                      6 photos   \n",
       "routablemask_link/_title                                                                                          NaN   \n",
       "routablemask_link_numbers                                                                                           6   \n",
       "routablemask_content                                                                                              NaN   \n",
       "imagebadge_value                                                                                             6 photos   \n",
       "imagebadge_value_numbers                                                                                            6   \n",
       "routable_link               http://www.zillow.com/homedetails/111-W-74th-St-APT-2R-New-York-NY-10023/2123304010_zpid/   \n",
       "routable_link/_text                                                           111 W 74th St APT 2R, New York, NY10023   \n",
       "routable_link/_title                                                   111 W 74th St APT 2R, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                      111; 74; 2   \n",
       "listingtype_value                                                                                  Apartment For Rent   \n",
       "pricelarge_value                                                                                            $2,875/mo   \n",
       "pricelarge_value_prices                                                                                      2.88e+03   \n",
       "propertyinfo_value                                                                                        1 bd • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                       1; 1   \n",
       "fineprint_value                                                                                                   NaN   \n",
       "fineprint_value_numbers                                                                                           NaN   \n",
       "tozcount_number                                                                                                     6   \n",
       "tozfresh_value                                                                                              hours ago   \n",
       "tablegrouped_values                                                                                               NaN   \n",
       "tablegrouped_values_prices                                                                                        NaN   \n",
       "_PAGE_NUMBER                                                                                                        1   \n",
       "Baths                                                                                                               1   \n",
       "Beds                                                                                                                1   \n",
       "Sqft                                                                                                              NaN   \n",
       "Floor                                                                                                             NaN   \n",
       "Zip                                                                                                             10023   \n",
       "\n",
       "                                                                                                                 17   \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/646-10th-Ave-APT-4B-New-York-NY-10036/2114397534_zpid/   \n",
       "routablemask_link/_text                                                                                          NaN   \n",
       "routablemask_link/_title                                                                                         NaN   \n",
       "routablemask_link_numbers                                                                                        NaN   \n",
       "routablemask_content                                                                                             NaN   \n",
       "imagebadge_value                                                                                                 NaN   \n",
       "imagebadge_value_numbers                                                                                         NaN   \n",
       "routable_link               http://www.zillow.com/homedetails/646-10th-Ave-APT-4B-New-York-NY-10036/2114397534_zpid/   \n",
       "routable_link/_text                                                           646 10th Ave APT 4B, New York, NY10036   \n",
       "routable_link/_title                                                   646 10th Ave APT 4B, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                     646; 10; 4   \n",
       "listingtype_value                                                                                 Apartment For Rent   \n",
       "pricelarge_value                                                                                           $2,225/mo   \n",
       "pricelarge_value_prices                                                                                     2.22e+03   \n",
       "propertyinfo_value                                                                                       1 bd • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                      1; 1   \n",
       "fineprint_value                                                                                                  NaN   \n",
       "fineprint_value_numbers                                                                                          NaN   \n",
       "tozcount_number                                                                                                    6   \n",
       "tozfresh_value                                                                                             hours ago   \n",
       "tablegrouped_values                                                                                              NaN   \n",
       "tablegrouped_values_prices                                                                                       NaN   \n",
       "_PAGE_NUMBER                                                                                                       1   \n",
       "Baths                                                                                                              1   \n",
       "Beds                                                                                                               1   \n",
       "Sqft                                                                                                             NaN   \n",
       "Floor                                                                                                            NaN   \n",
       "Zip                                                                                                            10036   \n",
       "\n",
       "                                                                                                                  18   \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/76-Carmine-St-APT-4C-New-York-NY-10014/2110813540_zpid/   \n",
       "routablemask_link/_text                                                                                      4 photos   \n",
       "routablemask_link/_title                                                                                          NaN   \n",
       "routablemask_link_numbers                                                                                           4   \n",
       "routablemask_content                                                                                              NaN   \n",
       "imagebadge_value                                                                                             4 photos   \n",
       "imagebadge_value_numbers                                                                                            4   \n",
       "routable_link               http://www.zillow.com/homedetails/76-Carmine-St-APT-4C-New-York-NY-10014/2110813540_zpid/   \n",
       "routable_link/_text                                                           76 Carmine St APT 4C, New York, NY10014   \n",
       "routable_link/_title                                                   76 Carmine St APT 4C, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                           76; 4   \n",
       "listingtype_value                                                                                  Apartment For Rent   \n",
       "pricelarge_value                                                                                            $2,450/mo   \n",
       "pricelarge_value_prices                                                                                      2.45e+03   \n",
       "propertyinfo_value                                                                                      Studio • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                          1   \n",
       "fineprint_value                                                                                                   NaN   \n",
       "fineprint_value_numbers                                                                                           NaN   \n",
       "tozcount_number                                                                                                     7   \n",
       "tozfresh_value                                                                                              hours ago   \n",
       "tablegrouped_values                                                                                               NaN   \n",
       "tablegrouped_values_prices                                                                                        NaN   \n",
       "_PAGE_NUMBER                                                                                                        1   \n",
       "Baths                                                                                                               1   \n",
       "Beds                                                                                                           Studio   \n",
       "Sqft                                                                                                              NaN   \n",
       "Floor                                                                                                             NaN   \n",
       "Zip                                                                                                             10014   \n",
       "\n",
       "                                                                                                                  19   \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/146-W-120th-St-APT-8-New-York-NY-10027/2100762986_zpid/   \n",
       "routablemask_link/_text                                                                                      6 photos   \n",
       "routablemask_link/_title                                                                                          NaN   \n",
       "routablemask_link_numbers                                                                                           6   \n",
       "routablemask_content                                                                                              NaN   \n",
       "imagebadge_value                                                                                             6 photos   \n",
       "imagebadge_value_numbers                                                                                            6   \n",
       "routable_link               http://www.zillow.com/homedetails/146-W-120th-St-APT-8-New-York-NY-10027/2100762986_zpid/   \n",
       "routable_link/_text                                                           146 W 120th St APT 8, New York, NY10027   \n",
       "routable_link/_title                                                   146 W 120th St APT 8, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                     146; 120; 8   \n",
       "listingtype_value                                                                                  Apartment For Rent   \n",
       "pricelarge_value                                                                                            $1,800/mo   \n",
       "pricelarge_value_prices                                                                                       1.8e+03   \n",
       "propertyinfo_value                                                                                        1 bd • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                       1; 1   \n",
       "fineprint_value                                                                                                   NaN   \n",
       "fineprint_value_numbers                                                                                           NaN   \n",
       "tozcount_number                                                                                                     9   \n",
       "tozfresh_value                                                                                              hours ago   \n",
       "tablegrouped_values                                                                                               NaN   \n",
       "tablegrouped_values_prices                                                                                        NaN   \n",
       "_PAGE_NUMBER                                                                                                        1   \n",
       "Baths                                                                                                               1   \n",
       "Beds                                                                                                                1   \n",
       "Sqft                                                                                                              NaN   \n",
       "Floor                                                                                                             NaN   \n",
       "Zip                                                                                                             10027   \n",
       "\n",
       "                                                                                                                   20   \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/137-W-72nd-St-APT-4FE-New-York-NY-10023/2105480982_zpid/   \n",
       "routablemask_link/_text                                                                                      10 photos   \n",
       "routablemask_link/_title                                                                                           NaN   \n",
       "routablemask_link_numbers                                                                                           10   \n",
       "routablemask_content                                                                                               NaN   \n",
       "imagebadge_value                                                                                             10 photos   \n",
       "imagebadge_value_numbers                                                                                            10   \n",
       "routable_link               http://www.zillow.com/homedetails/137-W-72nd-St-APT-4FE-New-York-NY-10023/2105480982_zpid/   \n",
       "routable_link/_text                                                           137 W 72nd St APT 4FE, New York, NY10023   \n",
       "routable_link/_title                                                   137 W 72nd St APT 4FE, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                       137; 72; 4   \n",
       "listingtype_value                                                                                   Apartment For Rent   \n",
       "pricelarge_value                                                                                             $2,850/mo   \n",
       "pricelarge_value_prices                                                                                       2.85e+03   \n",
       "propertyinfo_value                                                                              1 bd • 1 ba • 700 sqft   \n",
       "propertyinfo_value_numbers                                                                                   1; 1; 700   \n",
       "fineprint_value                                                                                                    NaN   \n",
       "fineprint_value_numbers                                                                                            NaN   \n",
       "tozcount_number                                                                                                      9   \n",
       "tozfresh_value                                                                                               hours ago   \n",
       "tablegrouped_values                                                                                                NaN   \n",
       "tablegrouped_values_prices                                                                                         NaN   \n",
       "_PAGE_NUMBER                                                                                                         1   \n",
       "Baths                                                                                                                1   \n",
       "Beds                                                                                                                 1   \n",
       "Sqft                                                                                                               700   \n",
       "Floor                                                                                                              NaN   \n",
       "Zip                                                                                                              10023   \n",
       "\n",
       "                                                                                                            21   \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/178-Avenue-B-2-New-York-NY-10009/2100763265_zpid/   \n",
       "routablemask_link/_text                                                                                6 photos   \n",
       "routablemask_link/_title                                                                                    NaN   \n",
       "routablemask_link_numbers                                                                                     6   \n",
       "routablemask_content                                                                                        NaN   \n",
       "imagebadge_value                                                                                       6 photos   \n",
       "imagebadge_value_numbers                                                                                      6   \n",
       "routable_link               http://www.zillow.com/homedetails/178-Avenue-B-2-New-York-NY-10009/2100763265_zpid/   \n",
       "routable_link/_text                                                         178 Avenue B # 2, New York, NY10009   \n",
       "routable_link/_title                                                 178 Avenue B # 2, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                    178; 2   \n",
       "listingtype_value                                                                            Apartment For Rent   \n",
       "pricelarge_value                                                                                      $2,700/mo   \n",
       "pricelarge_value_prices                                                                                 2.7e+03   \n",
       "propertyinfo_value                                                                                  1 bd • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                 1; 1   \n",
       "fineprint_value                                                                                             NaN   \n",
       "fineprint_value_numbers                                                                                     NaN   \n",
       "tozcount_number                                                                                              10   \n",
       "tozfresh_value                                                                                        hours ago   \n",
       "tablegrouped_values                                                                                         NaN   \n",
       "tablegrouped_values_prices                                                                                  NaN   \n",
       "_PAGE_NUMBER                                                                                                  1   \n",
       "Baths                                                                                                         1   \n",
       "Beds                                                                                                          1   \n",
       "Sqft                                                                                                        NaN   \n",
       "Floor                                                                                                       NaN   \n",
       "Zip                                                                                                       10009   \n",
       "\n",
       "                                                                                                              23   \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/95-Wall-St-72791-New-York-NY-10005/2103168440_zpid/   \n",
       "routablemask_link/_text                                                                                 17 photos   \n",
       "routablemask_link/_title                                                                                      NaN   \n",
       "routablemask_link_numbers                                                                                      17   \n",
       "routablemask_content                                                                                          NaN   \n",
       "imagebadge_value                                                                                        17 photos   \n",
       "imagebadge_value_numbers                                                                                       17   \n",
       "routable_link               http://www.zillow.com/homedetails/95-Wall-St-72791-New-York-NY-10005/2103168440_zpid/   \n",
       "routable_link/_text                                                                      95 Wall St, New York, NY   \n",
       "routable_link/_title                                                              95 Wall, Studio E1O Real Estate   \n",
       "routable_link_numbers                                                                                          95   \n",
       "listingtype_value                                                                              Apartment For Rent   \n",
       "pricelarge_value                                                                                       $3,000+/mo   \n",
       "pricelarge_value_prices                                                                                     3e+03   \n",
       "propertyinfo_value                                                                       Studio • 1 ba • 487 sqft   \n",
       "propertyinfo_value_numbers                                                                                 1; 487   \n",
       "fineprint_value                                                                                               NaN   \n",
       "fineprint_value_numbers                                                                                       NaN   \n",
       "tozcount_number                                                                                               NaN   \n",
       "tozfresh_value                                                                                      Updated today   \n",
       "tablegrouped_values                                                                                           NaN   \n",
       "tablegrouped_values_prices                                                                                    NaN   \n",
       "_PAGE_NUMBER                                                                                                    1   \n",
       "Baths                                                                                                           1   \n",
       "Beds                                                                                                       Studio   \n",
       "Sqft                                                                                                          487   \n",
       "Floor                                                                                                         NaN   \n",
       "Zip                                                                                                           NaN   \n",
       "\n",
       "                                                                      ...                                              \\\n",
       "routablemask_link                                                     ...                                               \n",
       "routablemask_link/_text                                               ...                                               \n",
       "routablemask_link/_title                                              ...                                               \n",
       "routablemask_link_numbers                                             ...                                               \n",
       "routablemask_content                                                  ...                                               \n",
       "imagebadge_value                                                      ...                                               \n",
       "imagebadge_value_numbers                                              ...                                               \n",
       "routable_link                                                         ...                                               \n",
       "routable_link/_text                                                   ...                                               \n",
       "routable_link/_title                                                  ...                                               \n",
       "routable_link_numbers                                                 ...                                               \n",
       "listingtype_value                                                     ...                                               \n",
       "pricelarge_value                                                      ...                                               \n",
       "pricelarge_value_prices                                               ...                                               \n",
       "propertyinfo_value                                                    ...                                               \n",
       "propertyinfo_value_numbers                                            ...                                               \n",
       "fineprint_value                                                       ...                                               \n",
       "fineprint_value_numbers                                               ...                                               \n",
       "tozcount_number                                                       ...                                               \n",
       "tozfresh_value                                                        ...                                               \n",
       "tablegrouped_values                                                   ...                                               \n",
       "tablegrouped_values_prices                                            ...                                               \n",
       "_PAGE_NUMBER                                                          ...                                               \n",
       "Baths                                                                 ...                                               \n",
       "Beds                                                                  ...                                               \n",
       "Sqft                                                                  ...                                               \n",
       "Floor                                                                 ...                                               \n",
       "Zip                                                                   ...                                               \n",
       "\n",
       "                                                                                                                     470  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/304-E-41st-St-APT-1107A-New-York-NY-10017/2100774366_zpid/   \n",
       "routablemask_link/_text                                                                                         5 photos   \n",
       "routablemask_link/_title                                                                                             NaN   \n",
       "routablemask_link_numbers                                                                                              5   \n",
       "routablemask_content                                                                                                 NaN   \n",
       "imagebadge_value                                                                                                5 photos   \n",
       "imagebadge_value_numbers                                                                                               5   \n",
       "routable_link               http://www.zillow.com/homedetails/304-E-41st-St-APT-1107A-New-York-NY-10017/2100774366_zpid/   \n",
       "routable_link/_text                                                           304 E 41st St APT 1107A, New York, NY10017   \n",
       "routable_link/_title                                                   304 E 41st St APT 1107A, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                      304; 41; 1107   \n",
       "listingtype_value                                                                                     Apartment For Rent   \n",
       "pricelarge_value                                                                                               $2,200/mo   \n",
       "pricelarge_value_prices                                                                                          2.2e+03   \n",
       "propertyinfo_value                                                                                         Studio • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                             1   \n",
       "fineprint_value                                                                                                      NaN   \n",
       "fineprint_value_numbers                                                                                              NaN   \n",
       "tozcount_number                                                                                                      NaN   \n",
       "tozfresh_value                                                                                                       NaN   \n",
       "tablegrouped_values                                                                                                  NaN   \n",
       "tablegrouped_values_prices                                                                                           NaN   \n",
       "_PAGE_NUMBER                                                                                                          19   \n",
       "Baths                                                                                                                  1   \n",
       "Beds                                                                                                              Studio   \n",
       "Sqft                                                                                                                 NaN   \n",
       "Floor                                                                                                                NaN   \n",
       "Zip                                                                                                                10017   \n",
       "\n",
       "                                                                                                                471  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/169-Avenue-A-APT-1-New-York-NY-10009/2105208117_zpid/   \n",
       "routablemask_link/_text                                                                                    8 photos   \n",
       "routablemask_link/_title                                                                                        NaN   \n",
       "routablemask_link_numbers                                                                                         8   \n",
       "routablemask_content                                                                                            NaN   \n",
       "imagebadge_value                                                                                           8 photos   \n",
       "imagebadge_value_numbers                                                                                          8   \n",
       "routable_link               http://www.zillow.com/homedetails/169-Avenue-A-APT-1-New-York-NY-10009/2105208117_zpid/   \n",
       "routable_link/_text                                                           169 Avenue A APT 1, New York, NY10009   \n",
       "routable_link/_title                                                   169 Avenue A APT 1, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                        169; 1   \n",
       "listingtype_value                                                                                Apartment For Rent   \n",
       "pricelarge_value                                                                                          $2,195/mo   \n",
       "pricelarge_value_prices                                                                                     2.2e+03   \n",
       "propertyinfo_value                                                                                    Studio • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                        1   \n",
       "fineprint_value                                                                                                 NaN   \n",
       "fineprint_value_numbers                                                                                         NaN   \n",
       "tozcount_number                                                                                                 NaN   \n",
       "tozfresh_value                                                                                                  NaN   \n",
       "tablegrouped_values                                                                                             NaN   \n",
       "tablegrouped_values_prices                                                                                      NaN   \n",
       "_PAGE_NUMBER                                                                                                     19   \n",
       "Baths                                                                                                             1   \n",
       "Beds                                                                                                         Studio   \n",
       "Sqft                                                                                                            NaN   \n",
       "Floor                                                                                                           NaN   \n",
       "Zip                                                                                                           10009   \n",
       "\n",
       "                                                                                                                 475  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/722-10th-Ave-APT-3A-New-York-NY-10019/2126268388_zpid/   \n",
       "routablemask_link/_text                                                                                     5 photos   \n",
       "routablemask_link/_title                                                                                         NaN   \n",
       "routablemask_link_numbers                                                                                          5   \n",
       "routablemask_content                                                                                             NaN   \n",
       "imagebadge_value                                                                                            5 photos   \n",
       "imagebadge_value_numbers                                                                                           5   \n",
       "routable_link               http://www.zillow.com/homedetails/722-10th-Ave-APT-3A-New-York-NY-10019/2126268388_zpid/   \n",
       "routable_link/_text                                                           722 10th Ave APT 3A, New York, NY10019   \n",
       "routable_link/_title                                                   722 10th Ave APT 3A, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                     722; 10; 3   \n",
       "listingtype_value                                                                                 Apartment For Rent   \n",
       "pricelarge_value                                                                                           $2,995/mo   \n",
       "pricelarge_value_prices                                                                                        3e+03   \n",
       "propertyinfo_value                                                               1 bd • 1 ba • 475 sqft • Built 1900   \n",
       "propertyinfo_value_numbers                                                                           1; 1; 475; 1900   \n",
       "fineprint_value                                                                                                  NaN   \n",
       "fineprint_value_numbers                                                                                          NaN   \n",
       "tozcount_number                                                                                                  NaN   \n",
       "tozfresh_value                                                                                                   NaN   \n",
       "tablegrouped_values                                                                                              NaN   \n",
       "tablegrouped_values_prices                                                                                       NaN   \n",
       "_PAGE_NUMBER                                                                                                      20   \n",
       "Baths                                                                                                              1   \n",
       "Beds                                                                                                               1   \n",
       "Sqft                                                                                                             475   \n",
       "Floor                                                                                                            NaN   \n",
       "Zip                                                                                                            10019   \n",
       "\n",
       "                                                                                                                    477  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/200-W-70th-St-APT-11L3-New-York-NY-10023/2100774851_zpid/   \n",
       "routablemask_link/_text                                                                                        4 photos   \n",
       "routablemask_link/_title                                                                                            NaN   \n",
       "routablemask_link_numbers                                                                                             4   \n",
       "routablemask_content                                                                                                NaN   \n",
       "imagebadge_value                                                                                               4 photos   \n",
       "imagebadge_value_numbers                                                                                              4   \n",
       "routable_link               http://www.zillow.com/homedetails/200-W-70th-St-APT-11L3-New-York-NY-10023/2100774851_zpid/   \n",
       "routable_link/_text                                                           200 W 70th St APT 11L3, New York, NY10023   \n",
       "routable_link/_title                                                   200 W 70th St APT 11L3, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                       200; 70; 11   \n",
       "listingtype_value                                                                                    Apartment For Rent   \n",
       "pricelarge_value                                                                                              $1,895/mo   \n",
       "pricelarge_value_prices                                                                                         1.9e+03   \n",
       "propertyinfo_value                                                                                        Studio • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                            1   \n",
       "fineprint_value                                                                                                     NaN   \n",
       "fineprint_value_numbers                                                                                             NaN   \n",
       "tozcount_number                                                                                                     NaN   \n",
       "tozfresh_value                                                                                                      NaN   \n",
       "tablegrouped_values                                                                                                 NaN   \n",
       "tablegrouped_values_prices                                                                                          NaN   \n",
       "_PAGE_NUMBER                                                                                                         20   \n",
       "Baths                                                                                                                 1   \n",
       "Beds                                                                                                             Studio   \n",
       "Sqft                                                                                                                NaN   \n",
       "Floor                                                                                                               NaN   \n",
       "Zip                                                                                                               10023   \n",
       "\n",
       "                                                                                                                  479  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/219-W-78th-St-APT-2F-New-York-NY-10024/2100775303_zpid/   \n",
       "routablemask_link/_text                                                                                      6 photos   \n",
       "routablemask_link/_title                                                                                          NaN   \n",
       "routablemask_link_numbers                                                                                           6   \n",
       "routablemask_content                                                                                              NaN   \n",
       "imagebadge_value                                                                                             6 photos   \n",
       "imagebadge_value_numbers                                                                                            6   \n",
       "routable_link               http://www.zillow.com/homedetails/219-W-78th-St-APT-2F-New-York-NY-10024/2100775303_zpid/   \n",
       "routable_link/_text                                                           219 W 78th St APT 2F, New York, NY10024   \n",
       "routable_link/_title                                                   219 W 78th St APT 2F, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                      219; 78; 2   \n",
       "listingtype_value                                                                                  Apartment For Rent   \n",
       "pricelarge_value                                                                                            $2,493/mo   \n",
       "pricelarge_value_prices                                                                                      2.49e+03   \n",
       "propertyinfo_value                                                                             1 bd • 1 ba • 500 sqft   \n",
       "propertyinfo_value_numbers                                                                                  1; 1; 500   \n",
       "fineprint_value                                                                                                   NaN   \n",
       "fineprint_value_numbers                                                                                           NaN   \n",
       "tozcount_number                                                                                                   NaN   \n",
       "tozfresh_value                                                                                                    NaN   \n",
       "tablegrouped_values                                                                                               NaN   \n",
       "tablegrouped_values_prices                                                                                        NaN   \n",
       "_PAGE_NUMBER                                                                                                       20   \n",
       "Baths                                                                                                               1   \n",
       "Beds                                                                                                                1   \n",
       "Sqft                                                                                                              500   \n",
       "Floor                                                                                                             NaN   \n",
       "Zip                                                                                                             10024   \n",
       "\n",
       "                                                                                                                  483  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/405-W-49th-St-APT-2W-New-York-NY-10019/2100776286_zpid/   \n",
       "routablemask_link/_text                                                                                      5 photos   \n",
       "routablemask_link/_title                                                                                          NaN   \n",
       "routablemask_link_numbers                                                                                           5   \n",
       "routablemask_content                                                                                              NaN   \n",
       "imagebadge_value                                                                                             5 photos   \n",
       "imagebadge_value_numbers                                                                                            5   \n",
       "routable_link               http://www.zillow.com/homedetails/405-W-49th-St-APT-2W-New-York-NY-10019/2100776286_zpid/   \n",
       "routable_link/_text                                                           405 W 49th St APT 2W, New York, NY10019   \n",
       "routable_link/_title                                                   405 W 49th St APT 2W, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                      405; 49; 2   \n",
       "listingtype_value                                                                                  Apartment For Rent   \n",
       "pricelarge_value                                                                                            $2,925/mo   \n",
       "pricelarge_value_prices                                                                                      2.92e+03   \n",
       "propertyinfo_value                                                                                       2 bds • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                       2; 1   \n",
       "fineprint_value                                                                                                   NaN   \n",
       "fineprint_value_numbers                                                                                           NaN   \n",
       "tozcount_number                                                                                                   NaN   \n",
       "tozfresh_value                                                                                                    NaN   \n",
       "tablegrouped_values                                                                                               NaN   \n",
       "tablegrouped_values_prices                                                                                        NaN   \n",
       "_PAGE_NUMBER                                                                                                       20   \n",
       "Baths                                                                                                               1   \n",
       "Beds                                                                                                                2   \n",
       "Sqft                                                                                                              NaN   \n",
       "Floor                                                                                                             NaN   \n",
       "Zip                                                                                                             10019   \n",
       "\n",
       "                                                                                                                  484  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/230-E-26th-St-APT-3A-New-York-NY-10010/2100776283_zpid/   \n",
       "routablemask_link/_text                                                                                      6 photos   \n",
       "routablemask_link/_title                                                                                          NaN   \n",
       "routablemask_link_numbers                                                                                           6   \n",
       "routablemask_content                                                                                              NaN   \n",
       "imagebadge_value                                                                                             6 photos   \n",
       "imagebadge_value_numbers                                                                                            6   \n",
       "routable_link               http://www.zillow.com/homedetails/230-E-26th-St-APT-3A-New-York-NY-10010/2100776283_zpid/   \n",
       "routable_link/_text                                                           230 E 26th St APT 3A, New York, NY10010   \n",
       "routable_link/_title                                                   230 E 26th St APT 3A, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                      230; 26; 3   \n",
       "listingtype_value                                                                                  Apartment For Rent   \n",
       "pricelarge_value                                                                                            $2,940/mo   \n",
       "pricelarge_value_prices                                                                                      2.94e+03   \n",
       "propertyinfo_value                                                                                       2 bds • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                       2; 1   \n",
       "fineprint_value                                                                                                   NaN   \n",
       "fineprint_value_numbers                                                                                           NaN   \n",
       "tozcount_number                                                                                                   NaN   \n",
       "tozfresh_value                                                                                                    NaN   \n",
       "tablegrouped_values                                                                                               NaN   \n",
       "tablegrouped_values_prices                                                                                        NaN   \n",
       "_PAGE_NUMBER                                                                                                       20   \n",
       "Baths                                                                                                               1   \n",
       "Beds                                                                                                                2   \n",
       "Sqft                                                                                                              NaN   \n",
       "Floor                                                                                                             NaN   \n",
       "Zip                                                                                                             10010   \n",
       "\n",
       "                                                                                                                  485  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/319-E-53rd-St-APT-2B-New-York-NY-10022/2104750345_zpid/   \n",
       "routablemask_link/_text                                                                                      5 photos   \n",
       "routablemask_link/_title                                                                                          NaN   \n",
       "routablemask_link_numbers                                                                                           5   \n",
       "routablemask_content                                                                                              NaN   \n",
       "imagebadge_value                                                                                             5 photos   \n",
       "imagebadge_value_numbers                                                                                            5   \n",
       "routable_link               http://www.zillow.com/homedetails/319-E-53rd-St-APT-2B-New-York-NY-10022/2104750345_zpid/   \n",
       "routable_link/_text                                                           319 E 53rd St APT 2B, New York, NY10022   \n",
       "routable_link/_title                                                   319 E 53rd St APT 2B, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                      319; 53; 2   \n",
       "listingtype_value                                                                                  Apartment For Rent   \n",
       "pricelarge_value                                                                                            $2,170/mo   \n",
       "pricelarge_value_prices                                                                                      2.17e+03   \n",
       "propertyinfo_value                                                                                      Studio • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                          1   \n",
       "fineprint_value                                                                                                   NaN   \n",
       "fineprint_value_numbers                                                                                           NaN   \n",
       "tozcount_number                                                                                                   NaN   \n",
       "tozfresh_value                                                                                                    NaN   \n",
       "tablegrouped_values                                                                                               NaN   \n",
       "tablegrouped_values_prices                                                                                        NaN   \n",
       "_PAGE_NUMBER                                                                                                       20   \n",
       "Baths                                                                                                               1   \n",
       "Beds                                                                                                           Studio   \n",
       "Sqft                                                                                                              NaN   \n",
       "Floor                                                                                                             NaN   \n",
       "Zip                                                                                                             10022   \n",
       "\n",
       "                                                                                                                 486  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/53-Irving-Pl-APT-3K-New-York-NY-10003/2103128441_zpid/   \n",
       "routablemask_link/_text                                                                                     6 photos   \n",
       "routablemask_link/_title                                                                                         NaN   \n",
       "routablemask_link_numbers                                                                                          6   \n",
       "routablemask_content                                                                                             NaN   \n",
       "imagebadge_value                                                                                            6 photos   \n",
       "imagebadge_value_numbers                                                                                           6   \n",
       "routable_link               http://www.zillow.com/homedetails/53-Irving-Pl-APT-3K-New-York-NY-10003/2103128441_zpid/   \n",
       "routable_link/_text                                                           53 Irving Pl APT 3K, New York, NY10003   \n",
       "routable_link/_title                                                   53 Irving Pl APT 3K, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                          53; 3   \n",
       "listingtype_value                                                                                 Apartment For Rent   \n",
       "pricelarge_value                                                                                           $2,300/mo   \n",
       "pricelarge_value_prices                                                                                      2.3e+03   \n",
       "propertyinfo_value                                                                          Studio • 1 ba • 400 sqft   \n",
       "propertyinfo_value_numbers                                                                                    1; 400   \n",
       "fineprint_value                                                                                                  NaN   \n",
       "fineprint_value_numbers                                                                                          NaN   \n",
       "tozcount_number                                                                                                  NaN   \n",
       "tozfresh_value                                                                                                   NaN   \n",
       "tablegrouped_values                                                                                              NaN   \n",
       "tablegrouped_values_prices                                                                                       NaN   \n",
       "_PAGE_NUMBER                                                                                                      20   \n",
       "Baths                                                                                                              1   \n",
       "Beds                                                                                                          Studio   \n",
       "Sqft                                                                                                             400   \n",
       "Floor                                                                                                            NaN   \n",
       "Zip                                                                                                            10003   \n",
       "\n",
       "                                                                                                                 487  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/25-E-67th-St-APT-8D-New-York-NY-10065/2100777265_zpid/   \n",
       "routablemask_link/_text                                                                                          NaN   \n",
       "routablemask_link/_title                                                                                         NaN   \n",
       "routablemask_link_numbers                                                                                        NaN   \n",
       "routablemask_content                                                                                             NaN   \n",
       "imagebadge_value                                                                                                 NaN   \n",
       "imagebadge_value_numbers                                                                                         NaN   \n",
       "routable_link               http://www.zillow.com/homedetails/25-E-67th-St-APT-8D-New-York-NY-10065/2100777265_zpid/   \n",
       "routable_link/_text                                                           25 E 67th St APT 8D, New York, NY10065   \n",
       "routable_link/_title                                                   25 E 67th St APT 8D, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                      25; 67; 8   \n",
       "listingtype_value                                                                                 Apartment For Rent   \n",
       "pricelarge_value                                                                                           $2,600/mo   \n",
       "pricelarge_value_prices                                                                                      2.6e+03   \n",
       "propertyinfo_value                                                                                     Studio • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                         1   \n",
       "fineprint_value                                                                                                  NaN   \n",
       "fineprint_value_numbers                                                                                          NaN   \n",
       "tozcount_number                                                                                                  NaN   \n",
       "tozfresh_value                                                                                                   NaN   \n",
       "tablegrouped_values                                                                                              NaN   \n",
       "tablegrouped_values_prices                                                                                       NaN   \n",
       "_PAGE_NUMBER                                                                                                      20   \n",
       "Baths                                                                                                              1   \n",
       "Beds                                                                                                          Studio   \n",
       "Sqft                                                                                                             NaN   \n",
       "Floor                                                                                                            NaN   \n",
       "Zip                                                                                                            10065   \n",
       "\n",
       "                                                                                                             490  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/303-E-73rd-St-E-New-York-NY-10021/2100777278_zpid/   \n",
       "routablemask_link/_text                                                                                 5 photos   \n",
       "routablemask_link/_title                                                                                     NaN   \n",
       "routablemask_link_numbers                                                                                      5   \n",
       "routablemask_content                                                                                         NaN   \n",
       "imagebadge_value                                                                                        5 photos   \n",
       "imagebadge_value_numbers                                                                                       5   \n",
       "routable_link               http://www.zillow.com/homedetails/303-E-73rd-St-E-New-York-NY-10021/2100777278_zpid/   \n",
       "routable_link/_text                                                         303 E 73rd St # E, New York, NY10021   \n",
       "routable_link/_title                                                 303 E 73rd St # E, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                    303; 73   \n",
       "listingtype_value                                                                             Apartment For Rent   \n",
       "pricelarge_value                                                                                       $2,265/mo   \n",
       "pricelarge_value_prices                                                                                 2.26e+03   \n",
       "propertyinfo_value                                                                                   1 bd • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                  1; 1   \n",
       "fineprint_value                                                                                              NaN   \n",
       "fineprint_value_numbers                                                                                      NaN   \n",
       "tozcount_number                                                                                              NaN   \n",
       "tozfresh_value                                                                                               NaN   \n",
       "tablegrouped_values                                                                                          NaN   \n",
       "tablegrouped_values_prices                                                                                   NaN   \n",
       "_PAGE_NUMBER                                                                                                  20   \n",
       "Baths                                                                                                          1   \n",
       "Beds                                                                                                           1   \n",
       "Sqft                                                                                                         NaN   \n",
       "Floor                                                                                                        NaN   \n",
       "Zip                                                                                                        10021   \n",
       "\n",
       "                                                                                                                  492  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/422-E-81st-St-APT-4A-New-York-NY-10028/2111603077_zpid/   \n",
       "routablemask_link/_text                                                                                      4 photos   \n",
       "routablemask_link/_title                                                                                          NaN   \n",
       "routablemask_link_numbers                                                                                           4   \n",
       "routablemask_content                                                                                              NaN   \n",
       "imagebadge_value                                                                                             4 photos   \n",
       "imagebadge_value_numbers                                                                                            4   \n",
       "routable_link               http://www.zillow.com/homedetails/422-E-81st-St-APT-4A-New-York-NY-10028/2111603077_zpid/   \n",
       "routable_link/_text                                                           422 E 81st St APT 4A, New York, NY10028   \n",
       "routable_link/_title                                                   422 E 81st St APT 4A, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                      422; 81; 4   \n",
       "listingtype_value                                                                                  Apartment For Rent   \n",
       "pricelarge_value                                                                                            $2,150/mo   \n",
       "pricelarge_value_prices                                                                                      2.15e+03   \n",
       "propertyinfo_value                                                                                        1 bd • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                       1; 1   \n",
       "fineprint_value                                                                                                   NaN   \n",
       "fineprint_value_numbers                                                                                           NaN   \n",
       "tozcount_number                                                                                                   NaN   \n",
       "tozfresh_value                                                                                                    NaN   \n",
       "tablegrouped_values                                                                                               NaN   \n",
       "tablegrouped_values_prices                                                                                        NaN   \n",
       "_PAGE_NUMBER                                                                                                       20   \n",
       "Baths                                                                                                               1   \n",
       "Beds                                                                                                                1   \n",
       "Sqft                                                                                                              NaN   \n",
       "Floor                                                                                                             NaN   \n",
       "Zip                                                                                                             10028   \n",
       "\n",
       "                                                                                                                  496  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/445-W-49th-St-APT-3B-New-York-NY-10019/2106388119_zpid/   \n",
       "routablemask_link/_text                                                                                      4 photos   \n",
       "routablemask_link/_title                                                                                          NaN   \n",
       "routablemask_link_numbers                                                                                           4   \n",
       "routablemask_content                                                                                              NaN   \n",
       "imagebadge_value                                                                                             4 photos   \n",
       "imagebadge_value_numbers                                                                                            4   \n",
       "routable_link               http://www.zillow.com/homedetails/445-W-49th-St-APT-3B-New-York-NY-10019/2106388119_zpid/   \n",
       "routable_link/_text                                                           445 W 49th St APT 3B, New York, NY10019   \n",
       "routable_link/_title                                                   445 W 49th St APT 3B, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                      445; 49; 3   \n",
       "listingtype_value                                                                                  Apartment For Rent   \n",
       "pricelarge_value                                                                                            $2,195/mo   \n",
       "pricelarge_value_prices                                                                                       2.2e+03   \n",
       "propertyinfo_value                                                                                      Studio • 1 ba   \n",
       "propertyinfo_value_numbers                                                                                          1   \n",
       "fineprint_value                                                                                                   NaN   \n",
       "fineprint_value_numbers                                                                                           NaN   \n",
       "tozcount_number                                                                                                   NaN   \n",
       "tozfresh_value                                                                                                    NaN   \n",
       "tablegrouped_values                                                                                               NaN   \n",
       "tablegrouped_values_prices                                                                                        NaN   \n",
       "_PAGE_NUMBER                                                                                                       20   \n",
       "Baths                                                                                                               1   \n",
       "Beds                                                                                                           Studio   \n",
       "Sqft                                                                                                              NaN   \n",
       "Floor                                                                                                             NaN   \n",
       "Zip                                                                                                             10019   \n",
       "\n",
       "                                                                                                                    497  \\\n",
       "routablemask_link           http://www.zillow.com/homedetails/203-E-121st-St-APT-901-New-York-NY-10035/2100777283_zpid/   \n",
       "routablemask_link/_text                                                                                        4 photos   \n",
       "routablemask_link/_title                                                                                            NaN   \n",
       "routablemask_link_numbers                                                                                             4   \n",
       "routablemask_content                                                                                                NaN   \n",
       "imagebadge_value                                                                                               4 photos   \n",
       "imagebadge_value_numbers                                                                                              4   \n",
       "routable_link               http://www.zillow.com/homedetails/203-E-121st-St-APT-901-New-York-NY-10035/2100777283_zpid/   \n",
       "routable_link/_text                                                           203 E 121st St APT 901, New York, NY10035   \n",
       "routable_link/_title                                                   203 E 121st St APT 901, New York, NY Real Estate   \n",
       "routable_link_numbers                                                                                     203; 121; 901   \n",
       "listingtype_value                                                                                    Apartment For Rent   \n",
       "pricelarge_value                                                                                              $1,795/mo   \n",
       "pricelarge_value_prices                                                                                         1.8e+03   \n",
       "propertyinfo_value                                                                             Studio • 1 ba • 550 sqft   \n",
       "propertyinfo_value_numbers                                                                                       1; 550   \n",
       "fineprint_value                                                                                                     NaN   \n",
       "fineprint_value_numbers                                                                                             NaN   \n",
       "tozcount_number                                                                                                     NaN   \n",
       "tozfresh_value                                                                                                      NaN   \n",
       "tablegrouped_values                                                                                                 NaN   \n",
       "tablegrouped_values_prices                                                                                          NaN   \n",
       "_PAGE_NUMBER                                                                                                         20   \n",
       "Baths                                                                                                                 1   \n",
       "Beds                                                                                                             Studio   \n",
       "Sqft                                                                                                                550   \n",
       "Floor                                                                                                               NaN   \n",
       "Zip                                                                                                               10035   \n",
       "\n",
       "                                                                                                                  499  \n",
       "routablemask_link           http://www.zillow.com/homedetails/434-E-72nd-St-APT-2C-New-York-NY-10021/2120058527_zpid/  \n",
       "routablemask_link/_text                                                                                       1 photo  \n",
       "routablemask_link/_title                                                                                          NaN  \n",
       "routablemask_link_numbers                                                                                           1  \n",
       "routablemask_content                                                                                              NaN  \n",
       "imagebadge_value                                                                                              1 photo  \n",
       "imagebadge_value_numbers                                                                                            1  \n",
       "routable_link               http://www.zillow.com/homedetails/434-E-72nd-St-APT-2C-New-York-NY-10021/2120058527_zpid/  \n",
       "routable_link/_text                                                           434 E 72nd St APT 2C, New York, NY10021  \n",
       "routable_link/_title                                                   434 E 72nd St APT 2C, New York, NY Real Estate  \n",
       "routable_link_numbers                                                                                      434; 72; 2  \n",
       "listingtype_value                                                                                  Apartment For Rent  \n",
       "pricelarge_value                                                                                            $2,150/mo  \n",
       "pricelarge_value_prices                                                                                      2.15e+03  \n",
       "propertyinfo_value                                                                                        1 bd • 1 ba  \n",
       "propertyinfo_value_numbers                                                                                       1; 1  \n",
       "fineprint_value                                                                                                   NaN  \n",
       "fineprint_value_numbers                                                                                           NaN  \n",
       "tozcount_number                                                                                                   NaN  \n",
       "tozfresh_value                                                                                                    NaN  \n",
       "tablegrouped_values                                                                                               NaN  \n",
       "tablegrouped_values_prices                                                                                        NaN  \n",
       "_PAGE_NUMBER                                                                                                       20  \n",
       "Baths                                                                                                               1  \n",
       "Beds                                                                                                                1  \n",
       "Sqft                                                                                                              NaN  \n",
       "Floor                                                                                                             NaN  \n",
       "Zip                                                                                                             10021  \n",
       "\n",
       "[28 rows x 333 columns]"
      ]
     },
     "execution_count": 137,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# Parse out zip, floor\n",
    "def parse_addy(r):\n",
    "    so_zip = re.search(\", NY(\\d+)\", r)\n",
    "    so_flr = re.search(\"(?:APT|#)\\s+(\\d$)[A-Z]+,\", r)\n",
    "    if so_zip:\n",
    "        zipc = so_zip.group(1)\n",
    "    else:\n",
    "        zipc = np.nan\n",
    "        \n",
    "    if so_flr:\n",
    "        flr = so_flr.group(1)\n",
    "    else:\n",
    "        flr = np.nan\n",
    "    \n",
    "    return pd.Series({\"Zip\": zipc, \"Floor\": flr})\n",
    "\n",
    "flrzip = sujnd[\"routable_link/_text\"].apply(parse_addy)\n",
    "suf = sujnd.join(flrzip)\n",
    "suf.T"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 138,
   "metadata": {
    "scrolled": false
   },
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/Users/changfeng/anaconda3/envs/venv-py35/lib/python3.5/site-packages/pandas/core/frame.py:3027: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame\n",
      "\n",
      "See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n",
      "  return super(DataFrame, self).rename(**kwargs)\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Rent</th>\n",
       "      <th>Beds</th>\n",
       "      <th>Baths</th>\n",
       "      <th>Sqft</th>\n",
       "      <th>Floor</th>\n",
       "      <th>Zip</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1750.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10035</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>3000.0</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1,016</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10031</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>2300.0</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10028</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>2500.0</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10035</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>2800.0</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10012</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>2490.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10036</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>2750.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>496</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10021</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>2150.0</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10024</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>2875.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10023</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>2225.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10036</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>2450.0</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10014</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>1800.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10027</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>2850.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>700</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10023</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>2700.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10009</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>3000.0</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>487</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>2995.0</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>2700.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>525</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10009</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>2800.0</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>650</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>2850.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10009</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>2199.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>2895.0</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10013</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>2200.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>2600.0</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>406</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10004</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>2300.0</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>350</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10023</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>2400.0</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10024</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>2195.0</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>400</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10024</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>2800.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>600</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10026</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>2495.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10019</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>1900.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10065</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>1815.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>596</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10037</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>303</th>\n",
       "      <td>2095.0</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>900</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10032</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>304</th>\n",
       "      <td>2000.0</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10032</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>305</th>\n",
       "      <td>2095.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10029</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>306</th>\n",
       "      <td>2250.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>307</th>\n",
       "      <td>2450.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10075</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>308</th>\n",
       "      <td>2500.0</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>540</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10025</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>309</th>\n",
       "      <td>2500.0</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10021</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>310</th>\n",
       "      <td>1800.0</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10075</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>311</th>\n",
       "      <td>2495.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>312</th>\n",
       "      <td>2950.0</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>313</th>\n",
       "      <td>2950.0</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>314</th>\n",
       "      <td>2500.0</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>485</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10016</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>315</th>\n",
       "      <td>2595.0</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>600</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10011</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>316</th>\n",
       "      <td>2965.0</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>522</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>317</th>\n",
       "      <td>2815.0</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>480</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>318</th>\n",
       "      <td>2200.0</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>319</th>\n",
       "      <td>2195.0</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10009</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>320</th>\n",
       "      <td>2995.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>475</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10019</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>321</th>\n",
       "      <td>1895.0</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10023</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>322</th>\n",
       "      <td>2493.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>500</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10024</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>323</th>\n",
       "      <td>2925.0</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10019</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>324</th>\n",
       "      <td>2940.0</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10010</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>325</th>\n",
       "      <td>2170.0</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10022</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>326</th>\n",
       "      <td>2300.0</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>400</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>327</th>\n",
       "      <td>2600.0</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10065</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>328</th>\n",
       "      <td>2265.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10021</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>329</th>\n",
       "      <td>2150.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10028</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>330</th>\n",
       "      <td>2195.0</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10019</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>331</th>\n",
       "      <td>1795.0</td>\n",
       "      <td>Studio</td>\n",
       "      <td>1</td>\n",
       "      <td>550</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10035</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>332</th>\n",
       "      <td>2150.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10021</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>333 rows × 6 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "       Rent    Beds Baths   Sqft  Floor    Zip\n",
       "0    1750.0       1     1    NaN    NaN  10035\n",
       "1    3000.0       2     2  1,016    NaN  10031\n",
       "2    2300.0  Studio     1    NaN    NaN  10028\n",
       "3    2500.0       2     1    NaN    NaN  10035\n",
       "4    2800.0       2     1    NaN    NaN  10012\n",
       "5    2490.0       1     1    NaN    NaN  10036\n",
       "6    2750.0       1     1    496    NaN  10021\n",
       "7    2150.0  Studio     1    NaN    NaN  10024\n",
       "8    2875.0       1     1    NaN    NaN  10023\n",
       "9    2225.0       1     1    NaN    NaN  10036\n",
       "10   2450.0  Studio     1    NaN    NaN  10014\n",
       "11   1800.0       1     1    NaN    NaN  10027\n",
       "12   2850.0       1     1    700    NaN  10023\n",
       "13   2700.0       1     1    NaN    NaN  10009\n",
       "14   3000.0  Studio     1    487    NaN    NaN\n",
       "15   2995.0       2     1    NaN    NaN  10002\n",
       "16   2700.0       1     1    525    NaN  10009\n",
       "17   2800.0       2     1    650    NaN  10002\n",
       "18   2850.0       1     1    NaN    NaN  10009\n",
       "19   2199.0       1     1    NaN    NaN  10002\n",
       "20   2895.0  Studio     1    NaN    NaN  10013\n",
       "21   2200.0       1     1    NaN    NaN  10002\n",
       "22   2600.0  Studio     1    406    NaN  10004\n",
       "23   2300.0  Studio     1    350    NaN  10023\n",
       "24   2400.0  Studio     1    NaN    NaN  10024\n",
       "25   2195.0  Studio     1    400    NaN  10024\n",
       "26   2800.0       1     1    600    NaN  10026\n",
       "27   2495.0       1     1    NaN    NaN  10019\n",
       "28   1900.0       1     1    NaN    NaN  10065\n",
       "29   1815.0       1     1    596    NaN  10037\n",
       "..      ...     ...   ...    ...    ...    ...\n",
       "303  2095.0       2     1    900    NaN  10032\n",
       "304  2000.0       2     1    NaN    NaN  10032\n",
       "305  2095.0       1     1    NaN    NaN  10029\n",
       "306  2250.0       1     1    NaN    NaN  10017\n",
       "307  2450.0       1     1    NaN    NaN  10075\n",
       "308  2500.0  Studio     1    540    NaN  10025\n",
       "309  2500.0       2     1    NaN    NaN  10021\n",
       "310  1800.0  Studio     1    NaN    NaN  10075\n",
       "311  2495.0       1     1    NaN    NaN  10003\n",
       "312  2950.0  Studio     1    NaN    NaN    NaN\n",
       "313  2950.0  Studio     1    NaN    NaN    NaN\n",
       "314  2500.0  Studio     1    485    NaN  10016\n",
       "315  2595.0       2     1    600    NaN  10011\n",
       "316  2965.0  Studio     1    522    NaN    NaN\n",
       "317  2815.0  Studio     1    480    NaN    NaN\n",
       "318  2200.0  Studio     1    NaN    NaN  10017\n",
       "319  2195.0  Studio     1    NaN    NaN  10009\n",
       "320  2995.0       1     1    475    NaN  10019\n",
       "321  1895.0  Studio     1    NaN    NaN  10023\n",
       "322  2493.0       1     1    500    NaN  10024\n",
       "323  2925.0       2     1    NaN    NaN  10019\n",
       "324  2940.0       2     1    NaN    NaN  10010\n",
       "325  2170.0  Studio     1    NaN    NaN  10022\n",
       "326  2300.0  Studio     1    400    NaN  10003\n",
       "327  2600.0  Studio     1    NaN    NaN  10065\n",
       "328  2265.0       1     1    NaN    NaN  10021\n",
       "329  2150.0       1     1    NaN    NaN  10028\n",
       "330  2195.0  Studio     1    NaN    NaN  10019\n",
       "331  1795.0  Studio     1    550    NaN  10035\n",
       "332  2150.0       1     1    NaN    NaN  10021\n",
       "\n",
       "[333 rows x 6 columns]"
      ]
     },
     "execution_count": 138,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "sudf = suf[[\"pricelarge_value_prices\", \"Beds\", \"Baths\", \"Sqft\", \"Floor\", \"Zip\"]]\n",
    "sudf.rename(columns={\"pricelarge_value_prices\": \"Rent\"}, inplace=True)\n",
    "sudf.reset_index(drop=True, inplace=True)\n",
    "sudf"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 2.2.1 分析数据"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 139,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Rent</th>\n",
       "      <th>Floor</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>count</th>\n",
       "      <td>333.000</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>mean</th>\n",
       "      <td>2492.628</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>std</th>\n",
       "      <td>366.882</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>min</th>\n",
       "      <td>1500.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25%</th>\n",
       "      <td>2200.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>50%</th>\n",
       "      <td>2525.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>75%</th>\n",
       "      <td>2800.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>max</th>\n",
       "      <td>3000.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "           Rent  Floor\n",
       "count   333.000    0.0\n",
       "mean   2492.628    NaN\n",
       "std     366.882    NaN\n",
       "min    1500.000    NaN\n",
       "25%    2200.000    NaN\n",
       "50%    2525.000    NaN\n",
       "75%    2800.000    NaN\n",
       "max    3000.000    NaN"
      ]
     },
     "execution_count": 139,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "sudf.describe()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 140,
   "metadata": {
    "scrolled": false
   },
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/Users/changfeng/anaconda3/envs/venv-py35/lib/python3.5/site-packages/pandas/core/indexing.py:537: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n",
      "  self.obj[item] = s\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Rent</th>\n",
       "      <th>Beds</th>\n",
       "      <th>Baths</th>\n",
       "      <th>Sqft</th>\n",
       "      <th>Floor</th>\n",
       "      <th>Zip</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1750.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10035</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>3000.0</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1,016</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10031</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>2300.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10028</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>2500.0</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10035</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>2800.0</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10012</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>2490.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10036</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>2750.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>496</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10021</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>2150.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10024</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>2875.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10023</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>2225.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10036</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>2450.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10014</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>1800.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10027</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>2850.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>700</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10023</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>2700.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10009</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>3000.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>487</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>2995.0</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>2700.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>525</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10009</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>2800.0</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>650</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>2850.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10009</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>2199.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>2895.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10013</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>2200.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>2600.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>406</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10004</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>2300.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>350</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10023</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>2400.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10024</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>2195.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>400</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10024</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>2800.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>600</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10026</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>2495.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10019</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>1900.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10065</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>1815.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>596</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10037</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>303</th>\n",
       "      <td>2095.0</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>900</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10032</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>304</th>\n",
       "      <td>2000.0</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10032</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>305</th>\n",
       "      <td>2095.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10029</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>306</th>\n",
       "      <td>2250.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>307</th>\n",
       "      <td>2450.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10075</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>308</th>\n",
       "      <td>2500.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>540</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10025</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>309</th>\n",
       "      <td>2500.0</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10021</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>310</th>\n",
       "      <td>1800.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10075</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>311</th>\n",
       "      <td>2495.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>312</th>\n",
       "      <td>2950.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>313</th>\n",
       "      <td>2950.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>314</th>\n",
       "      <td>2500.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>485</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10016</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>315</th>\n",
       "      <td>2595.0</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>600</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10011</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>316</th>\n",
       "      <td>2965.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>522</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>317</th>\n",
       "      <td>2815.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>480</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>318</th>\n",
       "      <td>2200.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>319</th>\n",
       "      <td>2195.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10009</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>320</th>\n",
       "      <td>2995.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>475</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10019</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>321</th>\n",
       "      <td>1895.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10023</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>322</th>\n",
       "      <td>2493.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>500</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10024</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>323</th>\n",
       "      <td>2925.0</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10019</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>324</th>\n",
       "      <td>2940.0</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10010</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>325</th>\n",
       "      <td>2170.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10022</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>326</th>\n",
       "      <td>2300.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>400</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>327</th>\n",
       "      <td>2600.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10065</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>328</th>\n",
       "      <td>2265.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10021</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>329</th>\n",
       "      <td>2150.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10028</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>330</th>\n",
       "      <td>2195.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10019</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>331</th>\n",
       "      <td>1795.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>550</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10035</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>332</th>\n",
       "      <td>2150.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10021</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>333 rows × 6 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "       Rent Beds Baths   Sqft  Floor    Zip\n",
       "0    1750.0    1     1    NaN    NaN  10035\n",
       "1    3000.0    2     2  1,016    NaN  10031\n",
       "2    2300.0    0     1    NaN    NaN  10028\n",
       "3    2500.0    2     1    NaN    NaN  10035\n",
       "4    2800.0    2     1    NaN    NaN  10012\n",
       "5    2490.0    1     1    NaN    NaN  10036\n",
       "6    2750.0    1     1    496    NaN  10021\n",
       "7    2150.0    0     1    NaN    NaN  10024\n",
       "8    2875.0    1     1    NaN    NaN  10023\n",
       "9    2225.0    1     1    NaN    NaN  10036\n",
       "10   2450.0    0     1    NaN    NaN  10014\n",
       "11   1800.0    1     1    NaN    NaN  10027\n",
       "12   2850.0    1     1    700    NaN  10023\n",
       "13   2700.0    1     1    NaN    NaN  10009\n",
       "14   3000.0    0     1    487    NaN    NaN\n",
       "15   2995.0    2     1    NaN    NaN  10002\n",
       "16   2700.0    1     1    525    NaN  10009\n",
       "17   2800.0    2     1    650    NaN  10002\n",
       "18   2850.0    1     1    NaN    NaN  10009\n",
       "19   2199.0    1     1    NaN    NaN  10002\n",
       "20   2895.0    0     1    NaN    NaN  10013\n",
       "21   2200.0    1     1    NaN    NaN  10002\n",
       "22   2600.0    0     1    406    NaN  10004\n",
       "23   2300.0    0     1    350    NaN  10023\n",
       "24   2400.0    0     1    NaN    NaN  10024\n",
       "25   2195.0    0     1    400    NaN  10024\n",
       "26   2800.0    1     1    600    NaN  10026\n",
       "27   2495.0    1     1    NaN    NaN  10019\n",
       "28   1900.0    1     1    NaN    NaN  10065\n",
       "29   1815.0    1     1    596    NaN  10037\n",
       "..      ...  ...   ...    ...    ...    ...\n",
       "303  2095.0    2     1    900    NaN  10032\n",
       "304  2000.0    2     1    NaN    NaN  10032\n",
       "305  2095.0    1     1    NaN    NaN  10029\n",
       "306  2250.0    1     1    NaN    NaN  10017\n",
       "307  2450.0    1     1    NaN    NaN  10075\n",
       "308  2500.0    0     1    540    NaN  10025\n",
       "309  2500.0    2     1    NaN    NaN  10021\n",
       "310  1800.0    0     1    NaN    NaN  10075\n",
       "311  2495.0    1     1    NaN    NaN  10003\n",
       "312  2950.0    0     1    NaN    NaN    NaN\n",
       "313  2950.0    0     1    NaN    NaN    NaN\n",
       "314  2500.0    0     1    485    NaN  10016\n",
       "315  2595.0    2     1    600    NaN  10011\n",
       "316  2965.0    0     1    522    NaN    NaN\n",
       "317  2815.0    0     1    480    NaN    NaN\n",
       "318  2200.0    0     1    NaN    NaN  10017\n",
       "319  2195.0    0     1    NaN    NaN  10009\n",
       "320  2995.0    1     1    475    NaN  10019\n",
       "321  1895.0    0     1    NaN    NaN  10023\n",
       "322  2493.0    1     1    500    NaN  10024\n",
       "323  2925.0    2     1    NaN    NaN  10019\n",
       "324  2940.0    2     1    NaN    NaN  10010\n",
       "325  2170.0    0     1    NaN    NaN  10022\n",
       "326  2300.0    0     1    400    NaN  10003\n",
       "327  2600.0    0     1    NaN    NaN  10065\n",
       "328  2265.0    1     1    NaN    NaN  10021\n",
       "329  2150.0    1     1    NaN    NaN  10028\n",
       "330  2195.0    0     1    NaN    NaN  10019\n",
       "331  1795.0    0     1    550    NaN  10035\n",
       "332  2150.0    1     1    NaN    NaN  10021\n",
       "\n",
       "[333 rows x 6 columns]"
      ]
     },
     "execution_count": 140,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "sudf.loc[:, \"Beds\"] = sudf[\"Beds\"].map(lambda x: 0 if \"Studio\" in x else x)\n",
    "sudf"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 141,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "<class 'pandas.core.frame.DataFrame'>\n",
      "RangeIndex: 333 entries, 0 to 332\n",
      "Data columns (total 6 columns):\n",
      "Rent     333 non-null float64\n",
      "Beds     333 non-null object\n",
      "Baths    333 non-null object\n",
      "Sqft     108 non-null object\n",
      "Floor    0 non-null float64\n",
      "Zip      320 non-null object\n",
      "dtypes: float64(2), object(4)\n",
      "memory usage: 15.7+ KB\n"
     ]
    }
   ],
   "source": [
    "sudf.info()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 143,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/Users/changfeng/anaconda3/envs/venv-py35/lib/python3.5/site-packages/pandas/core/indexing.py:537: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n",
      "  self.obj[item] = s\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "<class 'pandas.core.frame.DataFrame'>\n",
      "RangeIndex: 333 entries, 0 to 332\n",
      "Data columns (total 6 columns):\n",
      "Rent     333 non-null int64\n",
      "Beds     333 non-null int64\n",
      "Baths    333 non-null float64\n",
      "Sqft     108 non-null float64\n",
      "Floor    0 non-null float64\n",
      "Zip      320 non-null object\n",
      "dtypes: float64(3), int64(2), object(1)\n",
      "memory usage: 15.7+ KB\n"
     ]
    }
   ],
   "source": [
    "# 解决列中数据类型\n",
    "sudf.loc[:, \"Rent\"] = sudf[\"Rent\"].astype(int)\n",
    "sudf.loc[:, \"Beds\"] = sudf[\"Beds\"].astype(int)\n",
    "\n",
    "# 存在半间浴室的情况，所以需要浮点型\n",
    "sudf.loc[:, \"Baths\"] = sudf[\"Baths\"].astype(float)\n",
    "\n",
    "# 存在 NaNs, 需要浮点型，但是首先要将逗号替换掉\n",
    "sudf.loc[:, \"Sqft\"] = sudf[\"Sqft\"].str.replace(\",\", \"\")\n",
    "\n",
    "sudf.loc[:, \"Sqft\"] = sudf[\"Sqft\"].astype(float)\n",
    "sudf.loc[:, \"Floor\"] = sudf[\"Floor\"].astype(float)\n",
    "\n",
    "sudf.info()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 144,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Rent</th>\n",
       "      <th>Beds</th>\n",
       "      <th>Baths</th>\n",
       "      <th>Sqft</th>\n",
       "      <th>Floor</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>count</th>\n",
       "      <td>333.000</td>\n",
       "      <td>333.000</td>\n",
       "      <td>333.000</td>\n",
       "      <td>108.000</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>mean</th>\n",
       "      <td>2492.628</td>\n",
       "      <td>0.820</td>\n",
       "      <td>1.008</td>\n",
       "      <td>528.981</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>std</th>\n",
       "      <td>366.882</td>\n",
       "      <td>0.718</td>\n",
       "      <td>0.082</td>\n",
       "      <td>133.050</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>min</th>\n",
       "      <td>1500.000</td>\n",
       "      <td>0.000</td>\n",
       "      <td>1.000</td>\n",
       "      <td>280.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25%</th>\n",
       "      <td>2200.000</td>\n",
       "      <td>0.000</td>\n",
       "      <td>1.000</td>\n",
       "      <td>447.500</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>50%</th>\n",
       "      <td>2525.000</td>\n",
       "      <td>1.000</td>\n",
       "      <td>1.000</td>\n",
       "      <td>512.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>75%</th>\n",
       "      <td>2800.000</td>\n",
       "      <td>1.000</td>\n",
       "      <td>1.000</td>\n",
       "      <td>600.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>max</th>\n",
       "      <td>3000.000</td>\n",
       "      <td>3.000</td>\n",
       "      <td>2.000</td>\n",
       "      <td>1090.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "           Rent     Beds    Baths      Sqft  Floor\n",
       "count   333.000  333.000  333.000   108.000    0.0\n",
       "mean   2492.628    0.820    1.008   528.981    NaN\n",
       "std     366.882    0.718    0.082   133.050    NaN\n",
       "min    1500.000    0.000    1.000   280.000    NaN\n",
       "25%    2200.000    0.000    1.000   447.500    NaN\n",
       "50%    2525.000    1.000    1.000   512.000    NaN\n",
       "75%    2800.000    1.000    1.000   600.000    NaN\n",
       "max    3000.000    3.000    2.000  1090.000    NaN"
      ]
     },
     "execution_count": 144,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "sudf.describe()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 145,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Rent</th>\n",
       "      <th>Beds</th>\n",
       "      <th>Baths</th>\n",
       "      <th>Sqft</th>\n",
       "      <th>Floor</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>count</th>\n",
       "      <td>332.000</td>\n",
       "      <td>332.000</td>\n",
       "      <td>332.000</td>\n",
       "      <td>108.000</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>mean</th>\n",
       "      <td>2493.509</td>\n",
       "      <td>0.822</td>\n",
       "      <td>1.008</td>\n",
       "      <td>528.981</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>std</th>\n",
       "      <td>367.083</td>\n",
       "      <td>0.718</td>\n",
       "      <td>0.082</td>\n",
       "      <td>133.050</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>min</th>\n",
       "      <td>1500.000</td>\n",
       "      <td>0.000</td>\n",
       "      <td>1.000</td>\n",
       "      <td>280.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25%</th>\n",
       "      <td>2200.000</td>\n",
       "      <td>0.000</td>\n",
       "      <td>1.000</td>\n",
       "      <td>447.500</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>50%</th>\n",
       "      <td>2527.500</td>\n",
       "      <td>1.000</td>\n",
       "      <td>1.000</td>\n",
       "      <td>512.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>75%</th>\n",
       "      <td>2800.000</td>\n",
       "      <td>1.000</td>\n",
       "      <td>1.000</td>\n",
       "      <td>600.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>max</th>\n",
       "      <td>3000.000</td>\n",
       "      <td>3.000</td>\n",
       "      <td>2.000</td>\n",
       "      <td>1090.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "           Rent     Beds    Baths      Sqft  Floor\n",
       "count   332.000  332.000  332.000   108.000    0.0\n",
       "mean   2493.509    0.822    1.008   528.981    NaN\n",
       "std     367.083    0.718    0.082   133.050    NaN\n",
       "min    1500.000    0.000    1.000   280.000    NaN\n",
       "25%    2200.000    0.000    1.000   447.500    NaN\n",
       "50%    2527.500    1.000    1.000   512.000    NaN\n",
       "75%    2800.000    1.000    1.000   600.000    NaN\n",
       "max    3000.000    3.000    2.000  1090.000    NaN"
      ]
     },
     "execution_count": 145,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "sudf = sudf.drop([318])\n",
    "sudf.describe()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 146,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th>Beds</th>\n",
       "      <th>0</th>\n",
       "      <th>1</th>\n",
       "      <th>2</th>\n",
       "      <th>3</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>10001</th>\n",
       "      <td>2737.500</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10002</th>\n",
       "      <td>2283.438</td>\n",
       "      <td>2422.513</td>\n",
       "      <td>2792.647</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10003</th>\n",
       "      <td>2109.889</td>\n",
       "      <td>2487.812</td>\n",
       "      <td>2525.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10004</th>\n",
       "      <td>2798.750</td>\n",
       "      <td>2850.000</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10005</th>\n",
       "      <td>2516.000</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10006</th>\n",
       "      <td>2611.000</td>\n",
       "      <td>2788.000</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10009</th>\n",
       "      <td>2200.909</td>\n",
       "      <td>2568.441</td>\n",
       "      <td>2530.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10010</th>\n",
       "      <td>NaN</td>\n",
       "      <td>2299.000</td>\n",
       "      <td>2940.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10011</th>\n",
       "      <td>2774.667</td>\n",
       "      <td>2852.000</td>\n",
       "      <td>2595.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10012</th>\n",
       "      <td>2547.000</td>\n",
       "      <td>2744.909</td>\n",
       "      <td>2581.667</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10013</th>\n",
       "      <td>2709.286</td>\n",
       "      <td>2584.444</td>\n",
       "      <td>2650.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10014</th>\n",
       "      <td>2450.000</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10016</th>\n",
       "      <td>2615.000</td>\n",
       "      <td>2450.000</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10017</th>\n",
       "      <td>NaN</td>\n",
       "      <td>2733.333</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10019</th>\n",
       "      <td>2195.000</td>\n",
       "      <td>2661.667</td>\n",
       "      <td>2925.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10021</th>\n",
       "      <td>1900.000</td>\n",
       "      <td>2388.333</td>\n",
       "      <td>2500.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10022</th>\n",
       "      <td>2170.000</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10023</th>\n",
       "      <td>2165.000</td>\n",
       "      <td>2773.333</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10024</th>\n",
       "      <td>2322.500</td>\n",
       "      <td>2621.500</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10025</th>\n",
       "      <td>2500.000</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10026</th>\n",
       "      <td>NaN</td>\n",
       "      <td>2800.000</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10027</th>\n",
       "      <td>NaN</td>\n",
       "      <td>1850.000</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10028</th>\n",
       "      <td>2100.000</td>\n",
       "      <td>2333.333</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10029</th>\n",
       "      <td>1597.500</td>\n",
       "      <td>2097.500</td>\n",
       "      <td>2650.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10031</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2531.250</td>\n",
       "      <td>2700.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10032</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2047.500</td>\n",
       "      <td>2350.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10033</th>\n",
       "      <td>NaN</td>\n",
       "      <td>1825.000</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10034</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1900.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10035</th>\n",
       "      <td>1795.000</td>\n",
       "      <td>1948.333</td>\n",
       "      <td>2350.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10036</th>\n",
       "      <td>2950.000</td>\n",
       "      <td>2357.500</td>\n",
       "      <td>2700.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10037</th>\n",
       "      <td>NaN</td>\n",
       "      <td>1815.000</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10038</th>\n",
       "      <td>2602.222</td>\n",
       "      <td>2395.000</td>\n",
       "      <td>2647.500</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10040</th>\n",
       "      <td>NaN</td>\n",
       "      <td>1550.000</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10065</th>\n",
       "      <td>2547.500</td>\n",
       "      <td>2131.667</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10075</th>\n",
       "      <td>2000.000</td>\n",
       "      <td>2625.000</td>\n",
       "      <td>2695.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10128</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2900.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10280</th>\n",
       "      <td>2695.000</td>\n",
       "      <td>2972.500</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11101</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2393.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11206</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2600.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11209</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1995.000</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11229</th>\n",
       "      <td>NaN</td>\n",
       "      <td>2595.000</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "Beds          0         1         2       3\n",
       "Zip                                        \n",
       "10001  2737.500       NaN       NaN     NaN\n",
       "10002  2283.438  2422.513  2792.647     NaN\n",
       "10003  2109.889  2487.812  2525.000     NaN\n",
       "10004  2798.750  2850.000       NaN     NaN\n",
       "10005  2516.000       NaN       NaN     NaN\n",
       "10006  2611.000  2788.000       NaN     NaN\n",
       "10009  2200.909  2568.441  2530.000     NaN\n",
       "10010       NaN  2299.000  2940.000     NaN\n",
       "10011  2774.667  2852.000  2595.000     NaN\n",
       "10012  2547.000  2744.909  2581.667     NaN\n",
       "10013  2709.286  2584.444  2650.000     NaN\n",
       "10014  2450.000       NaN       NaN     NaN\n",
       "10016  2615.000  2450.000       NaN     NaN\n",
       "10017       NaN  2733.333       NaN     NaN\n",
       "10019  2195.000  2661.667  2925.000     NaN\n",
       "10021  1900.000  2388.333  2500.000     NaN\n",
       "10022  2170.000       NaN       NaN     NaN\n",
       "10023  2165.000  2773.333       NaN     NaN\n",
       "10024  2322.500  2621.500       NaN     NaN\n",
       "10025  2500.000       NaN       NaN     NaN\n",
       "10026       NaN  2800.000       NaN     NaN\n",
       "10027       NaN  1850.000       NaN     NaN\n",
       "10028  2100.000  2333.333       NaN     NaN\n",
       "10029  1597.500  2097.500  2650.000     NaN\n",
       "10031       NaN       NaN  2531.250  2700.0\n",
       "10032       NaN       NaN  2047.500  2350.0\n",
       "10033       NaN  1825.000       NaN     NaN\n",
       "10034       NaN       NaN  1900.000     NaN\n",
       "10035  1795.000  1948.333  2350.000     NaN\n",
       "10036  2950.000  2357.500  2700.000     NaN\n",
       "10037       NaN  1815.000       NaN     NaN\n",
       "10038  2602.222  2395.000  2647.500     NaN\n",
       "10040       NaN  1550.000       NaN     NaN\n",
       "10065  2547.500  2131.667       NaN     NaN\n",
       "10075  2000.000  2625.000  2695.000     NaN\n",
       "10128       NaN       NaN  2900.000     NaN\n",
       "10280  2695.000  2972.500       NaN     NaN\n",
       "11101       NaN       NaN  2393.000     NaN\n",
       "11206       NaN       NaN  2600.000     NaN\n",
       "11209       NaN       NaN  1995.000     NaN\n",
       "11229       NaN  2595.000       NaN     NaN"
      ]
     },
     "execution_count": 146,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "sudf.pivot_table(\"Rent\", \"Zip\", \"Beds\", aggfunc=\"mean\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 147,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th>Beds</th>\n",
       "      <th>0</th>\n",
       "      <th>1</th>\n",
       "      <th>2</th>\n",
       "      <th>3</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>10001</th>\n",
       "      <td>2.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10002</th>\n",
       "      <td>16.0</td>\n",
       "      <td>39.0</td>\n",
       "      <td>17.0</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10003</th>\n",
       "      <td>9.0</td>\n",
       "      <td>16.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10004</th>\n",
       "      <td>4.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10005</th>\n",
       "      <td>4.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10006</th>\n",
       "      <td>4.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10009</th>\n",
       "      <td>11.0</td>\n",
       "      <td>34.0</td>\n",
       "      <td>8.0</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10010</th>\n",
       "      <td>NaN</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10011</th>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10012</th>\n",
       "      <td>5.0</td>\n",
       "      <td>11.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10013</th>\n",
       "      <td>7.0</td>\n",
       "      <td>9.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10014</th>\n",
       "      <td>1.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10016</th>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10017</th>\n",
       "      <td>NaN</td>\n",
       "      <td>3.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10019</th>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10021</th>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10022</th>\n",
       "      <td>1.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10023</th>\n",
       "      <td>3.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10024</th>\n",
       "      <td>6.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10025</th>\n",
       "      <td>1.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10026</th>\n",
       "      <td>NaN</td>\n",
       "      <td>2.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10027</th>\n",
       "      <td>NaN</td>\n",
       "      <td>2.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10028</th>\n",
       "      <td>2.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10029</th>\n",
       "      <td>2.0</td>\n",
       "      <td>4.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10031</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>4.0</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10032</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10033</th>\n",
       "      <td>NaN</td>\n",
       "      <td>1.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10034</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.0</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10035</th>\n",
       "      <td>1.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10036</th>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10037</th>\n",
       "      <td>NaN</td>\n",
       "      <td>2.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10038</th>\n",
       "      <td>9.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10040</th>\n",
       "      <td>NaN</td>\n",
       "      <td>1.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10065</th>\n",
       "      <td>2.0</td>\n",
       "      <td>3.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10075</th>\n",
       "      <td>2.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10128</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2.0</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10280</th>\n",
       "      <td>4.0</td>\n",
       "      <td>2.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11101</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.0</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11206</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.0</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11209</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.0</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11229</th>\n",
       "      <td>NaN</td>\n",
       "      <td>1.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "Beds      0     1     2    3\n",
       "Zip                         \n",
       "10001   2.0   NaN   NaN  NaN\n",
       "10002  16.0  39.0  17.0  NaN\n",
       "10003   9.0  16.0   2.0  NaN\n",
       "10004   4.0   1.0   NaN  NaN\n",
       "10005   4.0   NaN   NaN  NaN\n",
       "10006   4.0   1.0   NaN  NaN\n",
       "10009  11.0  34.0   8.0  NaN\n",
       "10010   NaN   1.0   1.0  NaN\n",
       "10011   3.0   1.0   1.0  NaN\n",
       "10012   5.0  11.0   3.0  NaN\n",
       "10013   7.0   9.0   2.0  NaN\n",
       "10014   1.0   NaN   NaN  NaN\n",
       "10016   3.0   1.0   NaN  NaN\n",
       "10017   NaN   3.0   NaN  NaN\n",
       "10019   1.0   3.0   1.0  NaN\n",
       "10021   1.0   3.0   1.0  NaN\n",
       "10022   1.0   NaN   NaN  NaN\n",
       "10023   3.0   3.0   NaN  NaN\n",
       "10024   6.0   2.0   NaN  NaN\n",
       "10025   1.0   NaN   NaN  NaN\n",
       "10026   NaN   2.0   NaN  NaN\n",
       "10027   NaN   2.0   NaN  NaN\n",
       "10028   2.0   3.0   NaN  NaN\n",
       "10029   2.0   4.0   1.0  NaN\n",
       "10031   NaN   NaN   4.0  1.0\n",
       "10032   NaN   NaN   2.0  1.0\n",
       "10033   NaN   1.0   NaN  NaN\n",
       "10034   NaN   NaN   1.0  NaN\n",
       "10035   1.0   3.0   2.0  NaN\n",
       "10036   1.0   2.0   1.0  NaN\n",
       "10037   NaN   2.0   NaN  NaN\n",
       "10038   9.0   1.0   2.0  NaN\n",
       "10040   NaN   1.0   NaN  NaN\n",
       "10065   2.0   3.0   NaN  NaN\n",
       "10075   2.0   2.0   1.0  NaN\n",
       "10128   NaN   NaN   2.0  NaN\n",
       "10280   4.0   2.0   NaN  NaN\n",
       "11101   NaN   NaN   1.0  NaN\n",
       "11206   NaN   NaN   1.0  NaN\n",
       "11209   NaN   NaN   1.0  NaN\n",
       "11229   NaN   1.0   NaN  NaN"
      ]
     },
     "execution_count": 147,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "sudf.pivot_table(\"Rent\", \"Zip\", \"Beds\", aggfunc=\"count\")"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 2.2.2 可视化数据"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "```Python\n",
    "pip install folium\n",
    "```"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 181,
   "metadata": {},
   "outputs": [],
   "source": [
    "su_lt_two = sudf[sudf[\"Beds\"] < 2]\n",
    "\n",
    "\n",
    "map = folium.Map(location=[40.748817, -73.985428], zoom_start=13)\n",
    "map.geo_json(geo_path=r'./data/nyc.json', data=su_lt_two,\n",
    "             columns=['Zip', 'Rent'],\n",
    "             key_on='feature.properties.postalCode',\n",
    "             threshold_scale=[1700.00, 1900.00, 2100.00, 2300.00, 2500.00, 2750.00],\n",
    "             fill_color='YlOrRd', fill_opacity=0.7, line_opacity=0.2,\n",
    "             legend_name='Rent (%)',\n",
    "              reset=True)\n",
    "map.create_map(path='nyc.html')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 2.3 对数据集建模"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "```python\n",
    "conda install statsmodels patsy\n",
    "```"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 183,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "                            OLS Regression Results                            \n",
      "==============================================================================\n",
      "Dep. Variable:                   Rent   R-squared:                       0.377\n",
      "Model:                            OLS   Adj. R-squared:                  0.283\n",
      "Method:                 Least Squares   F-statistic:                     4.034\n",
      "Date:                Sun, 03 May 2020   Prob (F-statistic):           1.21e-10\n",
      "Time:                        21:20:17   Log-Likelihood:                -1856.8\n",
      "No. Observations:                 262   AIC:                             3784.\n",
      "Df Residuals:                     227   BIC:                             3908.\n",
      "Df Model:                          34                                         \n",
      "Covariance Type:            nonrobust                                         \n",
      "================================================================================\n",
      "                   coef    std err          t      P>|t|      [0.025      0.975]\n",
      "--------------------------------------------------------------------------------\n",
      "Intercept     2737.5000    219.893     12.449      0.000    2304.207    3170.793\n",
      "Zip[T.10002]  -503.2729    226.072     -2.226      0.027    -948.740     -57.806\n",
      "Zip[T.10003]  -519.1638    230.290     -2.254      0.025    -972.943     -65.384\n",
      "Zip[T.10004]    29.8051    260.334      0.114      0.909    -483.175     542.785\n",
      "Zip[T.10005]  -221.5000    269.313     -0.822      0.412    -752.174     309.174\n",
      "Zip[T.10006]  -132.7949    260.334     -0.510      0.610    -645.775     380.185\n",
      "Zip[T.10009]  -416.4142    227.231     -1.833      0.068    -864.166      31.338\n",
      "Zip[T.10010]  -646.9746    383.461     -1.687      0.093   -1402.572     108.623\n",
      "Zip[T.10011]     4.3813    269.543      0.016      0.987    -526.746     535.508\n",
      "Zip[T.10012]  -197.7638    235.233     -0.841      0.401    -661.283     265.755\n",
      "Zip[T.10013]  -215.7045    234.573     -0.920      0.359    -677.924     246.515\n",
      "Zip[T.10014]  -287.5000    380.867     -0.755      0.451   -1037.986     462.986\n",
      "Zip[T.10016]  -215.8687    269.543     -0.801      0.424    -746.996     315.258\n",
      "Zip[T.10017]  -212.6413    287.352     -0.740      0.460    -778.860     353.577\n",
      "Zip[T.10019]  -348.8560    271.376     -1.286      0.200    -883.594     185.882\n",
      "Zip[T.10021]  -627.6060    271.376     -2.313      0.022   -1162.344     -92.868\n",
      "Zip[T.10022]  -567.5000    380.867     -1.490      0.138   -1317.986     182.986\n",
      "Zip[T.10023]  -372.5707    254.885     -1.462      0.145    -874.814     129.673\n",
      "Zip[T.10024]  -392.3687    246.100     -1.594      0.112    -877.302      92.564\n",
      "Zip[T.10025]  -237.5000    380.867     -0.624      0.534    -987.986     512.986\n",
      "Zip[T.10026]  -145.9746    314.148     -0.465      0.643    -764.994     473.045\n",
      "Zip[T.10027] -1095.9746    314.148     -3.489      0.001   -1714.994    -476.955\n",
      "Zip[T.10028]  -622.5848    261.550     -2.380      0.018   -1137.960    -107.209\n",
      "Zip[T.10029]  -945.6498    255.640     -3.699      0.000   -1449.382    -441.918\n",
      "Zip[T.10033] -1120.9746    383.461     -2.923      0.004   -1876.572    -365.377\n",
      "Zip[T.10035]  -983.8560    271.376     -3.625      0.000   -1518.594    -449.118\n",
      "Zip[T.10036]  -321.4831    285.429     -1.126      0.261    -883.912     240.946\n",
      "Zip[T.10037] -1130.9746    314.148     -3.600      0.000   -1749.994    -511.955\n",
      "Zip[T.10038]  -176.8475    240.922     -0.734      0.464    -651.578     297.883\n",
      "Zip[T.10040] -1395.9746    383.461     -3.640      0.000   -2151.572    -640.377\n",
      "Zip[T.10065]  -564.5848    261.550     -2.159      0.032   -1079.960     -49.209\n",
      "Zip[T.10075]  -529.2373    270.232     -1.958      0.051   -1061.721       3.247\n",
      "Zip[T.10280]   -19.4915    254.345     -0.077      0.939    -520.670     481.687\n",
      "Zip[T.11229]  -350.9746    383.461     -0.915      0.361   -1106.572     404.623\n",
      "Beds           208.4746     44.528      4.682      0.000     120.734     296.215\n",
      "==============================================================================\n",
      "Omnibus:                        3.745   Durbin-Watson:                   2.039\n",
      "Prob(Omnibus):                  0.154   Jarque-Bera (JB):                2.546\n",
      "Skew:                          -0.012   Prob(JB):                        0.280\n",
      "Kurtosis:                       2.518   Cond. No.                         84.2\n",
      "==============================================================================\n",
      "\n",
      "Warnings:\n",
      "[1] Standard Errors assume that the covariance matrix of the errors is correctly specified.\n"
     ]
    }
   ],
   "source": [
    "import patsy\n",
    "import statsmodels.api as sm\n",
    "\n",
    "f = \"Rent ~ Zip + Beds\"\n",
    "y, X = patsy.dmatrices(f, su_lt_two, return_type=\"dataframe\")\n",
    "\n",
    "results = sm.OLS(y, X).fit()\n",
    "print(results.summary())"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 2.3.1 预测"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 184,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Intercept</th>\n",
       "      <th>Zip[T.10002]</th>\n",
       "      <th>Zip[T.10003]</th>\n",
       "      <th>Zip[T.10004]</th>\n",
       "      <th>Zip[T.10005]</th>\n",
       "      <th>Zip[T.10006]</th>\n",
       "      <th>Zip[T.10009]</th>\n",
       "      <th>Zip[T.10010]</th>\n",
       "      <th>Zip[T.10011]</th>\n",
       "      <th>Zip[T.10012]</th>\n",
       "      <th>Zip[T.10013]</th>\n",
       "      <th>Zip[T.10014]</th>\n",
       "      <th>Zip[T.10016]</th>\n",
       "      <th>Zip[T.10017]</th>\n",
       "      <th>Zip[T.10019]</th>\n",
       "      <th>...</th>\n",
       "      <th>Zip[T.10026]</th>\n",
       "      <th>Zip[T.10027]</th>\n",
       "      <th>Zip[T.10028]</th>\n",
       "      <th>Zip[T.10029]</th>\n",
       "      <th>Zip[T.10033]</th>\n",
       "      <th>Zip[T.10035]</th>\n",
       "      <th>Zip[T.10036]</th>\n",
       "      <th>Zip[T.10037]</th>\n",
       "      <th>Zip[T.10038]</th>\n",
       "      <th>Zip[T.10040]</th>\n",
       "      <th>Zip[T.10065]</th>\n",
       "      <th>Zip[T.10075]</th>\n",
       "      <th>Zip[T.10280]</th>\n",
       "      <th>Zip[T.11229]</th>\n",
       "      <th>Beds</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>5 rows × 35 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "   Intercept  Zip[T.10002]  Zip[T.10003]  Zip[T.10004]  Zip[T.10005]  \\\n",
       "0        1.0           0.0           0.0           0.0           0.0   \n",
       "2        1.0           0.0           0.0           0.0           0.0   \n",
       "5        1.0           0.0           0.0           0.0           0.0   \n",
       "6        1.0           0.0           0.0           0.0           0.0   \n",
       "7        1.0           0.0           0.0           0.0           0.0   \n",
       "\n",
       "   Zip[T.10006]  Zip[T.10009]  Zip[T.10010]  Zip[T.10011]  Zip[T.10012]  \\\n",
       "0           0.0           0.0           0.0           0.0           0.0   \n",
       "2           0.0           0.0           0.0           0.0           0.0   \n",
       "5           0.0           0.0           0.0           0.0           0.0   \n",
       "6           0.0           0.0           0.0           0.0           0.0   \n",
       "7           0.0           0.0           0.0           0.0           0.0   \n",
       "\n",
       "   Zip[T.10013]  Zip[T.10014]  Zip[T.10016]  Zip[T.10017]  Zip[T.10019]  ...   \\\n",
       "0           0.0           0.0           0.0           0.0           0.0  ...    \n",
       "2           0.0           0.0           0.0           0.0           0.0  ...    \n",
       "5           0.0           0.0           0.0           0.0           0.0  ...    \n",
       "6           0.0           0.0           0.0           0.0           0.0  ...    \n",
       "7           0.0           0.0           0.0           0.0           0.0  ...    \n",
       "\n",
       "   Zip[T.10026]  Zip[T.10027]  Zip[T.10028]  Zip[T.10029]  Zip[T.10033]  \\\n",
       "0           0.0           0.0           0.0           0.0           0.0   \n",
       "2           0.0           0.0           1.0           0.0           0.0   \n",
       "5           0.0           0.0           0.0           0.0           0.0   \n",
       "6           0.0           0.0           0.0           0.0           0.0   \n",
       "7           0.0           0.0           0.0           0.0           0.0   \n",
       "\n",
       "   Zip[T.10035]  Zip[T.10036]  Zip[T.10037]  Zip[T.10038]  Zip[T.10040]  \\\n",
       "0           1.0           0.0           0.0           0.0           0.0   \n",
       "2           0.0           0.0           0.0           0.0           0.0   \n",
       "5           0.0           1.0           0.0           0.0           0.0   \n",
       "6           0.0           0.0           0.0           0.0           0.0   \n",
       "7           0.0           0.0           0.0           0.0           0.0   \n",
       "\n",
       "   Zip[T.10065]  Zip[T.10075]  Zip[T.10280]  Zip[T.11229]  Beds  \n",
       "0           0.0           0.0           0.0           0.0   1.0  \n",
       "2           0.0           0.0           0.0           0.0   0.0  \n",
       "5           0.0           0.0           0.0           0.0   1.0  \n",
       "6           0.0           0.0           0.0           0.0   1.0  \n",
       "7           0.0           0.0           0.0           0.0   0.0  \n",
       "\n",
       "[5 rows x 35 columns]"
      ]
     },
     "execution_count": 184,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "X.head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 185,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>value</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>Intercept</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10002]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10003]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10004]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10005]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10006]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10009]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10010]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10011]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10012]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10013]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10014]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10016]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10017]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10019]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10021]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10022]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10023]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10024]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10025]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10026]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10027]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10028]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10029]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10033]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10035]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10036]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10037]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10038]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10040]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10065]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10075]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10280]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.11229]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Beds</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "              value\n",
       "Intercept       0.0\n",
       "Zip[T.10002]    0.0\n",
       "Zip[T.10003]    0.0\n",
       "Zip[T.10004]    0.0\n",
       "Zip[T.10005]    0.0\n",
       "Zip[T.10006]    0.0\n",
       "Zip[T.10009]    0.0\n",
       "Zip[T.10010]    0.0\n",
       "Zip[T.10011]    0.0\n",
       "Zip[T.10012]    0.0\n",
       "Zip[T.10013]    0.0\n",
       "Zip[T.10014]    0.0\n",
       "Zip[T.10016]    0.0\n",
       "Zip[T.10017]    0.0\n",
       "Zip[T.10019]    0.0\n",
       "Zip[T.10021]    0.0\n",
       "Zip[T.10022]    0.0\n",
       "Zip[T.10023]    0.0\n",
       "Zip[T.10024]    0.0\n",
       "Zip[T.10025]    0.0\n",
       "Zip[T.10026]    0.0\n",
       "Zip[T.10027]    0.0\n",
       "Zip[T.10028]    0.0\n",
       "Zip[T.10029]    0.0\n",
       "Zip[T.10033]    0.0\n",
       "Zip[T.10035]    0.0\n",
       "Zip[T.10036]    0.0\n",
       "Zip[T.10037]    0.0\n",
       "Zip[T.10038]    0.0\n",
       "Zip[T.10040]    0.0\n",
       "Zip[T.10065]    0.0\n",
       "Zip[T.10075]    0.0\n",
       "Zip[T.10280]    0.0\n",
       "Zip[T.11229]    0.0\n",
       "Beds            0.0"
      ]
     },
     "execution_count": 185,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "to_pred_idx = X.iloc[0].index\n",
    "to_pred_zeros = np.zeros(len(to_pred_idx))\n",
    "tpdf = pd.DataFrame(to_pred_zeros, index=to_pred_idx, columns=[\"value\"])\n",
    "tpdf"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 186,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>value</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>Intercept</th>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10002]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10003]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10004]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10005]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10006]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10009]</th>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10010]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10011]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10012]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10013]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10014]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10016]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10017]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10019]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10021]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10022]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10023]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10024]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10025]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10026]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10027]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10028]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10029]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10033]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10035]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10036]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10037]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10038]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10040]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10065]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10075]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10280]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.11229]</th>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Beds</th>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "              value\n",
       "Intercept       1.0\n",
       "Zip[T.10002]    0.0\n",
       "Zip[T.10003]    0.0\n",
       "Zip[T.10004]    0.0\n",
       "Zip[T.10005]    0.0\n",
       "Zip[T.10006]    0.0\n",
       "Zip[T.10009]    1.0\n",
       "Zip[T.10010]    0.0\n",
       "Zip[T.10011]    0.0\n",
       "Zip[T.10012]    0.0\n",
       "Zip[T.10013]    0.0\n",
       "Zip[T.10014]    0.0\n",
       "Zip[T.10016]    0.0\n",
       "Zip[T.10017]    0.0\n",
       "Zip[T.10019]    0.0\n",
       "Zip[T.10021]    0.0\n",
       "Zip[T.10022]    0.0\n",
       "Zip[T.10023]    0.0\n",
       "Zip[T.10024]    0.0\n",
       "Zip[T.10025]    0.0\n",
       "Zip[T.10026]    0.0\n",
       "Zip[T.10027]    0.0\n",
       "Zip[T.10028]    0.0\n",
       "Zip[T.10029]    0.0\n",
       "Zip[T.10033]    0.0\n",
       "Zip[T.10035]    0.0\n",
       "Zip[T.10036]    0.0\n",
       "Zip[T.10037]    0.0\n",
       "Zip[T.10038]    0.0\n",
       "Zip[T.10040]    0.0\n",
       "Zip[T.10065]    0.0\n",
       "Zip[T.10075]    0.0\n",
       "Zip[T.10280]    0.0\n",
       "Zip[T.11229]    0.0\n",
       "Beds            1.0"
      ]
     },
     "execution_count": 186,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "tpdf.loc[\"Intercept\"] = 1\n",
    "tpdf.loc[\"Beds\"] = 1\n",
    "tpdf.loc[\"Zip[T.10009]\"] = 1\n",
    "tpdf"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 188,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Intercept       2529.56\n",
       "Zip[T.10002]    2529.56\n",
       "Zip[T.10003]    2529.56\n",
       "Zip[T.10004]    2529.56\n",
       "Zip[T.10005]    2529.56\n",
       "Zip[T.10006]    2529.56\n",
       "Zip[T.10009]    2529.56\n",
       "Zip[T.10010]    2529.56\n",
       "Zip[T.10011]    2529.56\n",
       "Zip[T.10012]    2529.56\n",
       "Zip[T.10013]    2529.56\n",
       "Zip[T.10014]    2529.56\n",
       "Zip[T.10016]    2529.56\n",
       "Zip[T.10017]    2529.56\n",
       "Zip[T.10019]    2529.56\n",
       "Zip[T.10021]    2529.56\n",
       "Zip[T.10022]    2529.56\n",
       "Zip[T.10023]    2529.56\n",
       "Zip[T.10024]    2529.56\n",
       "Zip[T.10025]    2529.56\n",
       "Zip[T.10026]    2529.56\n",
       "Zip[T.10027]    2529.56\n",
       "Zip[T.10028]    2529.56\n",
       "Zip[T.10029]    2529.56\n",
       "Zip[T.10033]    2529.56\n",
       "Zip[T.10035]    2529.56\n",
       "Zip[T.10036]    2529.56\n",
       "Zip[T.10037]    2529.56\n",
       "Zip[T.10038]    2529.56\n",
       "Zip[T.10040]    2529.56\n",
       "Zip[T.10065]    2529.56\n",
       "Zip[T.10075]    2529.56\n",
       "Zip[T.10280]    2529.56\n",
       "Zip[T.11229]    2529.56\n",
       "Beds            2529.56\n",
       "dtype: float64"
      ]
     },
     "execution_count": 188,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "results.predict(tpdf[\"value\"])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 189,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>value</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>Intercept</th>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10002]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10003]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10004]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10005]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10006]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10009]</th>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10010]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10011]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10012]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10013]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10014]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10016]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10017]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10019]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10021]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10022]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10023]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10024]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10025]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10026]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10027]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10028]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10029]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10033]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10035]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10036]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10037]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10038]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10040]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10065]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10075]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.10280]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zip[T.11229]</th>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Beds</th>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "              value\n",
       "Intercept         1\n",
       "Zip[T.10002]      0\n",
       "Zip[T.10003]      0\n",
       "Zip[T.10004]      0\n",
       "Zip[T.10005]      0\n",
       "Zip[T.10006]      0\n",
       "Zip[T.10009]      1\n",
       "Zip[T.10010]      0\n",
       "Zip[T.10011]      0\n",
       "Zip[T.10012]      0\n",
       "Zip[T.10013]      0\n",
       "Zip[T.10014]      0\n",
       "Zip[T.10016]      0\n",
       "Zip[T.10017]      0\n",
       "Zip[T.10019]      0\n",
       "Zip[T.10021]      0\n",
       "Zip[T.10022]      0\n",
       "Zip[T.10023]      0\n",
       "Zip[T.10024]      0\n",
       "Zip[T.10025]      0\n",
       "Zip[T.10026]      0\n",
       "Zip[T.10027]      0\n",
       "Zip[T.10028]      0\n",
       "Zip[T.10029]      0\n",
       "Zip[T.10033]      0\n",
       "Zip[T.10035]      0\n",
       "Zip[T.10036]      0\n",
       "Zip[T.10037]      0\n",
       "Zip[T.10038]      0\n",
       "Zip[T.10040]      0\n",
       "Zip[T.10065]      0\n",
       "Zip[T.10075]      0\n",
       "Zip[T.10280]      0\n",
       "Zip[T.11229]      0\n",
       "Beds              2"
      ]
     },
     "execution_count": 189,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "tpdf[\"value\"] = 0\n",
    "tpdf.loc[\"Intercept\"] = 1\n",
    "tpdf.loc[\"Beds\"] = 2\n",
    "tpdf.loc[\"Zip[T.10009]\"] = 1\n",
    "tpdf"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 190,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Intercept       2738.035\n",
       "Zip[T.10002]    2738.035\n",
       "Zip[T.10003]    2738.035\n",
       "Zip[T.10004]    2738.035\n",
       "Zip[T.10005]    2738.035\n",
       "Zip[T.10006]    2738.035\n",
       "Zip[T.10009]    2738.035\n",
       "Zip[T.10010]    2738.035\n",
       "Zip[T.10011]    2738.035\n",
       "Zip[T.10012]    2738.035\n",
       "Zip[T.10013]    2738.035\n",
       "Zip[T.10014]    2738.035\n",
       "Zip[T.10016]    2738.035\n",
       "Zip[T.10017]    2738.035\n",
       "Zip[T.10019]    2738.035\n",
       "Zip[T.10021]    2738.035\n",
       "Zip[T.10022]    2738.035\n",
       "Zip[T.10023]    2738.035\n",
       "Zip[T.10024]    2738.035\n",
       "Zip[T.10025]    2738.035\n",
       "Zip[T.10026]    2738.035\n",
       "Zip[T.10027]    2738.035\n",
       "Zip[T.10028]    2738.035\n",
       "Zip[T.10029]    2738.035\n",
       "Zip[T.10033]    2738.035\n",
       "Zip[T.10035]    2738.035\n",
       "Zip[T.10036]    2738.035\n",
       "Zip[T.10037]    2738.035\n",
       "Zip[T.10038]    2738.035\n",
       "Zip[T.10040]    2738.035\n",
       "Zip[T.10065]    2738.035\n",
       "Zip[T.10075]    2738.035\n",
       "Zip[T.10280]    2738.035\n",
       "Zip[T.11229]    2738.035\n",
       "Beds            2738.035\n",
       "dtype: float64"
      ]
     },
     "execution_count": 190,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "results.predict(tpdf[\"value\"])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 191,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Intercept       2651.176\n",
       "Zip[T.10002]    2651.176\n",
       "Zip[T.10003]    2651.176\n",
       "Zip[T.10004]    2651.176\n",
       "Zip[T.10005]    2651.176\n",
       "Zip[T.10006]    2651.176\n",
       "Zip[T.10009]    2651.176\n",
       "Zip[T.10010]    2651.176\n",
       "Zip[T.10011]    2651.176\n",
       "Zip[T.10012]    2651.176\n",
       "Zip[T.10013]    2651.176\n",
       "Zip[T.10014]    2651.176\n",
       "Zip[T.10016]    2651.176\n",
       "Zip[T.10017]    2651.176\n",
       "Zip[T.10019]    2651.176\n",
       "Zip[T.10021]    2651.176\n",
       "Zip[T.10022]    2651.176\n",
       "Zip[T.10023]    2651.176\n",
       "Zip[T.10024]    2651.176\n",
       "Zip[T.10025]    2651.176\n",
       "Zip[T.10026]    2651.176\n",
       "Zip[T.10027]    2651.176\n",
       "Zip[T.10028]    2651.176\n",
       "Zip[T.10029]    2651.176\n",
       "Zip[T.10033]    2651.176\n",
       "Zip[T.10035]    2651.176\n",
       "Zip[T.10036]    2651.176\n",
       "Zip[T.10037]    2651.176\n",
       "Zip[T.10038]    2651.176\n",
       "Zip[T.10040]    2651.176\n",
       "Zip[T.10065]    2651.176\n",
       "Zip[T.10075]    2651.176\n",
       "Zip[T.10280]    2651.176\n",
       "Zip[T.11229]    2651.176\n",
       "Beds            2651.176\n",
       "dtype: float64"
      ]
     },
     "execution_count": 191,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "tpdf[\"value\"] = 0\n",
    "tpdf.loc[\"Intercept\"] = 1\n",
    "tpdf.loc[\"Beds\"] = 2\n",
    "tpdf.loc[\"Zip[T.10002]\"] = 1\n",
    "\n",
    "results.predict(tpdf[\"value\"])"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.5.6"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
